That's very true. A project I'm working on at the moment has some of the worst code I've seen. Copy and paste crap everywhere. No understanding of good programming practices or web design. A mountain of technical debt.
Yet, the company is doing well, making money, hiring people and expanding quickly.
Had they waited until their skills were good enough, or spent a fortune on experienced developers, they would not be where they are today - with a heap of technical issues sure, but also with the money to throw at these issues.