This has to be the most out of touch comment I have read ever here.
Raising a family is a choice, and that choice should be made deliberately, considering all aspects, including financial impact.
It is no more the responsibility of the employer to consider the family of the employee anymore than for them to consider if the employee is a gambling addict, or spends frivolously on OnlyFans subs or funko pop collecting.