A house is something you can sell. If you need to pay a lot of money to service a big mortgage, that doesn't mean you're worse off than someone paid slightly less somewhere where housing is cheaper. Depending on how much your loan costs you (and property taxes, and everything else), you're still potentially coming out ahead.
Rent is a deadweight loss. OTOH, the cost of a loan combined with the risk of relying on property as your primary lifetime investment may make it worth it.