‘Mistake’ isn’t the right word. ‘Mistake’ is a cop out. It results in memes such as, ‘mistakes were made…’ or ‘all software has bugs..’, i.e., nothing really changes.
I like to think that software development is a difficult problem. We need to take efforts to find problems.