The vast majority of startups are also heavily cash-flow negative - so anything you do likely won't pay for itself.
It's almost always a bet on a rosy future.
I keep expecting to find a place that doesn’t need some sort of efficiency cost-saving. I’ve yet to find it.
The fact is there’s a crap-ton of beneficial work to be done anywhere you look. It’s not hard to justify a good salary in the software world.
For example: what if your company could double the speed of your CI/CD system and halve the price? If you move your runners to spot instances in an auto-scaling group you can do that. What’s the return on increasing the productivity of your eng team? Maybe eng salaries times percentage productivity improvement? That number is probably… large.
The amount of revenue per employees at some of these companies is in the 7 figures.
The "vast majority of startups" is not a useful unit of measure. Look at where all the people and the money actually are (FAANG).
Facebook, Apple, Amazon, Netflix, and Google employ <1M engineers in the US. There are 4.4M engineers in the US.
There are 4.4M engineers in the US, but almost all of them make far less than the one working for FAANG.
I didn't know we were talking exclusively about engineers in the top 5% of pay or so.
I thought this was about engineers in general.
Good engineers are worth their weight in gold.
Engineers like many people that build useful things, provide orders of magnitude more value than what they get for their labor.
The money probably goes to management, who stuck during the entire story - which OP didn't. It also goes to current employees who, by their number alone require more money. And of course to stakeholder who paid for OP $165k when the bank was making $0.
I did unimaginable things for one company, only to understand the value years later.
In reality there is a job market, and there are office politics. These determine salaries more than "marginal revenue of labour". This means that as long as someone who is employable by office-political standards will do the job cheaper, the salary can be contested.
It's actually very much possibly for software engineers, at least, to justify high valuations. As an example when I joined Reddit my first task was to remake a data engineering server in scala that cut down the needed AWS machines by 70%. That cost saving already covered more than my salary in perpetuity and I was only 3 months in.