My first “real” job after college (2013) I started at $60k. It was more than my mom, an elementary school teacher, ever made. It felt embarrassing. Teachers are at least as valuable as software developers (probably more), given their impact on society. Why do they make so little?
I'm sure your mom is great, but teachers have low value over replacement. Teaching is not a particularly high skill or difficult job.
Even though I disagree with you I can see where you're coming from with this sentence, but: the impact is HUGE. The impact of good teachers on society cannot be overstated. It's an amazing ROI and everything we can do to further the education of humankind is worth doing.
Programming (mostly) isn't that hard as well, compare software engineering with electronics engineering, for example, but the impact is huge: that's why you're probably well paid to do it and your company makes your life really easy, with all the bells and whistles to make you happy.