Having trouble reading serial data from ADC chip with FPGA
You cannot put a 22uF capacitor directly on the output of the op-amp, it will oscillate. Very low capacitances (like up to ~50 pF) are okay in your (worst-case) application as a voltage-follower. As it says in the datasheet:

Capacitive loads which are applied directly to the output of the
amplifier reduce the loop stability margin. Values of 50 pF can be
accommodated using the worst-case non-inverting unity gain connection.
Large closed loop gains or resistive isolation should be used if
larger load capacitance must be driven by the amplifier

Add some series resistance (after the pin 1/2 junction), 1K is fine, 100 ohms is probably enough for an LM358.
You will only be able to get up to about 3-4V on the output because the LM358 is not a R-R IO op-amp but it does work down to the negative rail (ground in this case).