Low income people can't buy a house. They can only afford to rent. This law would criminalize the ability of poor people to live in the city, and it would do so to help the wealthy home owners.
This does nothing to prevent anyone from renting apartments, condos, or houses built over five years ago.
Poor people aren't the ones renting brand-new construction. The renters of new houses are going to be people who could have and would have bought the house, if super rich landlords weren't jacking up prices.
Do you see the obvious contradiction here?
All this law does is take away poor people's ability to rent a home, that will instead be sold to a wealthy home owner.
If you can afford to purchase a new home then you are way way more wealthy than someone who can only afford to rent that same home.