Untrue. Most countries give residency after a certain value of real estate is bought and then gives a route to citizenship after some years, usually 2 to 8, of which most of that time you should live in that country.
Only tax havens, banana republics and ex colonies sell their citizenship...