Bill Gates, Larry Ellison, Jeff Bezos, Larry Page and Sergey Brin started as software developers and among the richest people in the world. Top tier IT professionals - directors or C level, successful entrepreneurs or finance standouts, all make gobs of money by almost any professional standard.
Software developers have unique opportunities and a culture of meritocracy. (It's hard to imagine a freelance actuary.)