The only times I see renting as a better economic option is when the monthly mortgage + property & utility costs are significantly more expensive than renting, AND there's an excellent chance of needing to relocate within the next 3-5 years before much equity is built up.
At earlier stages in a career, somewhat frequent relocations are common. But for a large part of the population who, especially as they age into their 30's+, want to stabilize such things in the interest of staying close to family, or make their own family, a greater level of geographic stability is very desirable and can be achieved without much if any career sacrifice if the location is strategically chosen, and buying a house at that stage almost always makes economic sense in the long term.
Of course there are some people who will always want to periodically uproot themselves every few years to new locales, and there's nothing wrong with that either, but I guess my point is that these differences in lifestyle choices significantly change where the economic balance falls.