I don't believe theres a single person in this world who hasn't made a mistake in the past that they have sorely regretted because its human to get things wrong and mess up some times.
Making mistakes is how we learn about ourselves and our behaviour.
These bumps in our journey act as a guide to how we want to feel, think and engage in this world — they helps to give us a moral compass and grow as a person.