In an idealized market economy that would be the case. But it is far from ideal. Your individual incentive as a SWE is to write more code.