A easy configuration shows the way to create an potential divider using a ESP32 S3 module plus a 1k ohm resistor. Using connecting two resistors to sequence, you can reduce the voltage quantity to a value appropriate https://socialaffluent.com/story7239189/esp32-s3-and-1k-resistor-a-simple-voltage-divider