There are two things to consider from that.
1: people who want a stable married-with-kids life are likely to also want a stable, predictable career
2: People who happen to be in a stable, predictable career find it easier to say yes to marriage and kids
My SO is going into teaching, at least temporarily for a few years, in a medium-COL city. She'll be making $55k-$65k in base salary, depending on if she teaches 10 months or 12 months out of the year, plus full retirement benefits, and they also provided her with enough scholarships just for taking the job that she has no college debt at all. Meanwhile I know engineering graduates (not necessarily software) who started in roughly the same range, with considerable debt, not as much stability, no retirement beyond a 401(k) with a pitiful match, and just a week or two off per year.