There will be more opportunities. Holding onto this regret will only serve to hold you back. It sounds like you've learned a lot through this process and that in itself is incredibly valuable.
Have you heard the fable of the Chinese farmer? You might find it insightful for your situation: https://www.craftdeology.com/the-story-of-the-chinese-farmer...