The MAX4466 is a very poor mic. If you want analog I would switch to a MAX9814
Also make sure you installed the firmware from a pc and not with OTA.
I made a few posts on this here: ESP32 + MAX9814 not possible