Ofter, it's not mistakes, but laziness
In my experience, often problems arise not from "mistakes" - people trying to doing something and doing it a wrong way - but from "laziness" - people avoiding to do things they should do, for fear of mistakes - often regarded more dangerous than a data breach, lack of resources, lack of proper skills (often due to outdated ones), lack of system knowledge (it was setup by someone else years ago, noone touches it for fear of broking it...) or pure real laziness. Or a combination of all those factors.
As long as too many people in charge of systems believes that "if it works, don't touch it", that 99.99% uptime needs to be reached with a single machine setup, that everything you learnt 15 years ago is still fully valid as if nothing changed meanwhile, that it's OK if someone sets up a system and nobody else knows anything about it, and responsibilities needs to be avoided at all costs thereby doing nothing is better than risking a mistake, well, there will be no technological solutions but full AI robots...