Failure is part of the growing process. The probabilities of your first company being sucessfull is very slim. But a failure helps you with the next company you create.
Source: started 15 different companies and 2 worked out. But they really worked out.
I crossed the Gulfstream on my sailboat. Twice.