When you do the same thing again and again, and expect a different result, that’s insanity.
When you do the same thing again and again, and get a different result, that’s stateful programming.
Stateful programming will teach you to expect different results when doing the same thing repeatedly.
It is impossible to write code which runs without state.
How’s your job working out for you?