Money is something, but not everything, whatever you work 10 years in the same field, how good does you learn from your job will reflect back how it payback, be consider of your experiences and behaviour
Probably not how good you are doing technical hard skill / soft skill,
or even business knowledge.
It's something non-technical and non-business stuff.
All depends on luck... to get 50k in 10 years, assuming starting pay is 15k, that will be 3.5k per year for 10 years. A bit difficult in IT industries considering that IT can be outsourced to other countries..