You also have to pay for upkeep of your house, but an offset to that is that real estate can often increase in value over time. And the best thing is, it's your house. Pride of ownership is a real thing, it's nice to be able to do what you want, have a garden (if you have any land which many houses do), paint it how you want, add an addition, upgrade the kitchen or bathroom.
People who do not make a lot of money, but have a steady income and good credit can get a mortgage for a house they can afford, with just 10-20% down payment. But the poorest or those who do not have good credit must still rent, and even that is hard because many landlords check credit histories and want a big deposit up front.