There are many reasons for what has become a pattern of mistakes. We have many ways that we try to make sense out of them. I will venture a few for exploration. Sometimes mistakes are made when we experience a part of ourselves that is so uncomfortable emotionally that we act (without fully thinking) to get out of the discomfort. So from this perspective, it is a combination of being unable to tolerate a certain feeling or feelings, along with the loss of thinking things through.
Another reason, often unknown (but at the same time "known"), is the repetition of something from our past. Strangely, its no longer the past that is the problem, but its unfinished stuff that inserts itself into the present! Much to be learned from here.
These are just a few but very important ways of looking at repeated mistakes. It can take a while to get to its roots of them as well as learn to tolerate the emotions we to want to get away. To return to where I started, mistakes can be a way to learn. But when we stop learning from them, we better take a much closer look. Let mistakes become an opportunity to learn. The cost of not going through this self-examination can be too great!