I’d still have rented while in college. I’d still have rented for my first two or three places after college. After that, I bought a place, lived in it for a while, then moved and rented in the city in two places (including one with a girlfriend which seems like a bad idea to jump right into home ownership), then bought the house I live in now.
There’s plenty of beneficial flexibility afforded by renting, even if you can afford to do either one.
Plus, if housing doesn’t go up in value like an investment, why would you want to tie up a downpayment and tie yourself down, losing money all the while? You’d have more incentive to rent and invest your down payment money.