Most things that most people contribute in life are small in impact. We could stand to give away more things of higher impact too instead of maximizing profit.
Yes, I understand that point, but it's not really what I was getting at. My point is that most software, even or especially open source, isn't even "small impact" (in a positive sense). It's just toys, learning experiments, or used for active harm, etc. Almost no software written today contributes to any "betterment of the species," no matter how small.
If software engineers want to contribute in that way, they should support the research efforts of individuals in the areas I mentioned. Those projects are meaningful and impactful. But they're a tiny fraction of software developed.
It's simply an incredibly ignorant conceit to fancy oneself as providing even small impact simply because one writes some software.