Until you’re over the many hundreds of thousands of dollars per year range, it works pretty well as a rule of thumb. If your company wants the cost of working in an office, they’re probably not paying high salaries to work in a rundown shack and the people making those high incomes also want better quality benefits (especially in the United States where healthcare is so expensive and cheaper plans mean more time having to argue with someone whose bonus is based on denying care).
Is that 90k the "lower average"? In Ukraine? I find that very hard to believe. Even here in Czechia that would put you firmly in the top 5 %. I don't think I personally know more than 2 people who make anything like that, and one of them isn't even in IT.
Top 5% overall or top 5% of dev jobs? Former sure, latter might be not? I live in Prague, and there are definitely multiple companies that pay more than 90k to middle positions. especially if it's before taxes.
Salary is not the same as paying a contractor. So, while salaries for senior engineers is 100k, as a contractor they might be charging 150K per year ($75/hr).