Given two companies competing on the same problem, where one is profitable and one isn't, which is likely to come out on top? I'd argue it's the one that brings in the most money (via profits + funding). At early stages, funding will almost always be greater than profits. A profitable company that does not seek investment will eventually lose out to an unprofitable one that has funding because it will grow faster. At some point, the larger company will seek to optimize for profit, acquire the profitable company, or become the default company for the problem space (a near-monopoly).
The sad state of current affairs is that the market is optimized to promote dominance, not capital efficiency.