Instead I'd suggest looking at Software Developers (1.5M positions) with median income at $127K.
Second, by definition median is not a competitive salary. I'd think top 25% of devs are getting competitive salary. Which is $161K [1]
20 years of savings at 30% of income will get you $2M. Which is not a fat retirement, but still doable.