At least get a -C6 if you're trying to replace a Pi with a microcontroller.
ESP32-C6 is $6 but ESP32-C3 is $3 )))