Is it okay to repeat the same mistake twice?
Do you always repeat the same mistake twice?
No, but I think I do it sometimes.
Instead of making the same mistake twice, you should learn from your mistakes. That way you don't have to deal with the consequences for those mistakes again.
I didn't make a mistake here. I just followed the rules and rules can be changed if I don't agree with them.
If you are doing something that you shouldn't be doing because you don't agree with the rules, then this is a mistake. Since you didn't learn from this before, then you are just repeating yourself and you can see that this is now just getting you into a mental trap. Drop your preferences and follow the rules.