This is the way that it works.
1. X has occurred.
2. X does not coincide with what is expected to happen on average or over the long run.
3. Thus, X will not occur this time.
The Gambler’s Fallacy is based on the idea that something is due to happen and the reason it’s due to happen is that eventually things even out. This misconception is based on connecting independent phenomenon as a string of related events.