ESP32 ADC measurment with variable input voltage?

the voltage divider is already done and exactly like you described.
still, even the perfect output of the divider has no use if the reference voltage is not steady