The cost of renting what? It used to be considered normal for multiple people to share a room and for children to live with their parents (and grandparents) all under one roof until they got married.
Don’t get me wrong - I prefer living alone to having roommates, and certainly prefer having my own private room to sharing it with multiple other people. But this is a very modern expectation. If it were normal for 3-4 people to share a room (as was common in the past), I imagine rent prices would actually be lower today than historically.
In any case, rent is really only overinflated in coastal megacities. And rent wasn’t really my main target: there are a whole lot of modern consumption activities considered ‘essential’ which really aren’t in any sense, but have simply become social expectations.
People aren't choosing to not have kids just so they can eat avocado toast.