Comparing an RP2350 to the ESP32 family (which is broad) is very much apples to oranges; they each have feature sets which make them ideal for completely different use cases.