Not to defend capitalism in general, but it’s really good at answering these sort of “is it worth the cost?” aquestions. The whole point is to allocate scarce resources efficiently; the problem is that it assumes nobody is a scumbag and all the costs are accounted for.