2. Hard work rarely ever implies financial success.
3. "...second tier job from the perspective of software professionals". Tiers are a made up concept. An Nvidia programmer working on critical HPC work is in a difference league than someone who is very good at making infinite scroll smooth.
Software is a broad field with different specializations. I don't know what you do but you made a bet and it's probably turned out quite well for you. Other people's bets did worse, others did better.
Comparison is the thief of joy. Remember to be grateful for where you are and how far you've come.