I think it's pathetic to moan about your salary in some Hacker News plea for sympathy.
It's a free market, there's a million job ads, recruiters and what else. If you are worth $500k/year, you'll get $500k/year. If you can't take $500k/year either coze you're incapable of putting up with the job requirements or you're just incompetent in general, that's entirely on you.
You're not starving. Just penible.