women get pregnant for a variety of reasons, either their own fault or the fault of someone else, maybe an accident, maybe rape, maybe unplanned, maybe planned. regardless, being able to function without maternity leave is almost impossible as a single parent. the chances of mothers getting pregnant on purpose just to get benefits is pretty rare, and taking away maternity leave for the 95% of mothers who need it as a result is unfair and demonic.
it should also not be contingent on the father's earnings either, since most families have both parents working jobs at the same time, and some mothers shouldn't be forced to be in a relationship just to receive the compensation they require for them and their child to survive the first 4 months
the problem with quotas though is that often you wind up having to accept subpar candidates or overpay them to meet whatever government-imposed obligations you have or face whatever legal actions to "remedy" the situation they would bring against you
this is very rare. businesses will never choose a subpar candidate on their own will. they have the ability to decline applicants for a reason, and quotas will not force them to choose people with a lower skillset. instead, they will wait for an applicant that meets the requirements and doesn't violate the quota, and then they will choose them.
if your business is 99% white people and you need to satisfy the quota, it's not like you're going to choose the 1st non-white applicant you see. you're going to wait until an applicant who is non-white applies with the required skillset to work there. and until then, yes, you will have to turn down white applicants. at that point, it's no longer first come first serve
the quota doesn't mean 'choose black people over white' it means 'race-based stalemate breaker'