I don't think it was a mistake but because your luck didn't come at that time, you thought it was because of your mistake. But in particular, accidentally clicking the bet max button is your fault. Maybe because you were in a hurry or thinking of something else, you didn't double check everything and pressed the button right away. For that one, I also often experience it in slot games and I intend to choose a small bet but in reality, I instead choose a bigger bet and lose. Well, we just have to be careful when playing gambling and always ensure everything is in order before we press the button.
I also have a same experience, but luckily I double of my money because of my mistake, after that I stop to gamble and cash out my winning to enjoy my day. But most of the times I keep losing and that's has been expected because of house edge. Gambling for long surely will make your money lose and almost has no chance to make money, while bet in bigger amount has a chance to make money.
I don't know why people think that there are more chances of winning when you bet with higher amounts while it is nothing more than a myth, the generated results are totally random and it has nothing to do with what you are betting with unless the casino is a scam and the games are rigged and there is not proper random number generator in use, but that barely happens and most of the platforms do use proper random number generators.
So your chances of winning or losing in gambling aren't dependent on how big or small your bets are, but it is totally dependent on your luck and whether you will win or lose. The only difference a bigger bet can make is that you will get more profit if you win a bet, other than that, it doesn't have any effect.