Having children out of wedlock is a safety valve for broken institutions that keeps the birth rate higher in the US than comparable countries; that plus relatively open integration helps us maintain our economy, welfare state, pensions, etc.
If we turned the screws on women and men to discourage out-of-wedlock births we might find that people decide not to have children at all.