Taking 5v and converting it to 3.3v for Raspberry Pi GPIO?
Consider just using a dedicated level shifter if you don't want to have to worry about impedances and sinking/sourcing current.  Something such as:
https://www.raspberrypi-spy.co.uk/2018/09/using-a-level-shifter-with-the-raspberry-pi-gpio/