I don't completely disagree with you. And certainly not all programmers are engineers. But some are, and they earn more than average.
Related... I was corrected in a professional setting by a professor of (civil) engineering at an ancient university that the word engineer should be read as closer to ingenuity than engine. I take from that the permission to describe an ingenious solution as well engineered. I know that specific job titles in some jurisdictions are protected, and some of those (engineer, nurse) become part of an identity that it seems unfair for others to adopt without accreditation. Nevertheless there is plenty of ingenuity in software today, and because some of it is newer, there is arguably more in software than in some branches of traditional engineering. End of moderate disagreement.