Mandated paternity leaves is to provide an equal part contributions towards children for both the mother and the father. Otherwise the mother take most of the hit ( as evidence in countries without it ).
In countries where men have mandatory paternity leaves that are significant this imbalance is greatly reduced.