Does that not encourage people to then become baby factories? If you know you get 8 months paid leave every time you had a baby, why would any man or woman go to work again? They would just sit at home and breed.
But we are also in population decline and that is worse than having decent parental leave.