Most mistakes in gambling happens because gamblers gambles so many times in a week, they get attached to gambling like it's daily job, what OP said about making mistakes when you stay away from gambling is wrong, you make less mistakes when you are not too attached to gambling.
The casinos even want gamblers to get so attached to gambling, this is one sure way they gamblers will keep coming back, and they will make more money this way.
If you are a smart gambler you must not get used to gambling, have fun gambling but don't expect money flow from gambling, you are just sitting on a time bomb, when the time is up you will likely lose everything or get addicted.
I understand your perspective and agree on some aspects. Gambling becomes a daily habit for many, which is dangerous. The idea that quitting gambling will make you make more mistakes is false. Simply put, less attachment means less risk. Casinos thrive on this bond. Model of business? Keep coming back. Its psychology and opportunism, not rocket science. They play gamblers, not the table. Smart gambling - what an oxymoron. To accept this idea, we must gamble for enjoyment without expecting reward. Expecting to succeed is like waiting for a bus at a train station. Fun, not money, is the goal.
Repeating mistakes in gambling is something which is mostly found in most of the gamblers and they never learn from the mistake and keep on repeating the same mistakes and the same things again and again.
The gambling casino knows the psychology of the Gamblers and therefore they exploit this in- capability of the Gamblers of not understanding the situation and making the same mistakes all over again losing their own money and due to this gambling casinos getting richer day by day. One thing which may be many of us never noted that gambling casino also uses the AI model and strategies due to which the players are force to to the same mistakes and the players are emotionally incapable of controlling their emotions and the gambling casinos uses each and every trick in the market to trap them.