How does that work in the absence of contraception?
What exactly are you looking for me to post in response to that question?
If a family decides they can't afford more children because of the cost of living, then they responsibly decide not to have any more children.
I don't think I need to post how that is done.