It is a constant struggle to convince people that your higher quality product/service is worth the extra cost, and obviously, many times it is not.
But the formula for operating a successful, long term business is not as simple as “output the best quality product or service you can, and you will be rewarded”. It is more like “output the best quality product or service you can relative to prices of competing sellers, and at prices your clientele can afford”.
Which may or may not include sellers that have access to much cheaper money (VC, bigger companies with other revenue streams, etc), or sellers operating in different jurisdictions with lower costs.