What, then, are we paying for?

If anyone can build it in a world of generative AI, what, then, are people paying for when they buy software? Why would people buy software?