I've had a Rasperry Pi desktop computer since the RPi3B, even though it came with just 1GB ram, it surfed the internet at a satisfactory speed, considering its size.
The RPi4B 2GB will do as well, although I have now got a 4GB Rpi4B & a RPi400 that are set up as basic desktop computers.
These are great little computers for anyone on a budget, check them out.