Either way, a tiny bit of research reveals that the median compensation for a software engineer is around $120K, and the set of people making $350K per year is relatively small (top 5-10% of all software engineers).
By definition, not everyone can be in the top 10% of their profession.
https://www.glassdoor.com/Salaries/software-engineer-salary-...