I knew it was wrong but I didn't see any traffic
Why did you think that it was ok to do something like that in traffic?
Yes it is although it was an accident, I need to slow down if I don't want to end up like this one day
If you knew it was wrong, why did you even decide on doing it? You knew the consequences of your actions but still acted on it. It seems like you really do care, so you need to think harder about what you do next time.
It was just a mistake and it won't happen again. I need to learn from that mistake and move on.
Well it is good that you are telling yourself that you need to make sure that it does not happen again. To me it sounds more like an impulse issue however since you did it knowing it was the wrong thing to do.