Bhagawad-Geeta 2.62-2.63
Interpretation:
When a person’s thoughts dwell on a particular subject, the mind forms associations to that subject. The person comes to want or expect the associations of the mental world to hold true in the real world. Events often fail to play out as the person desires or expects, and when desires or expectations are frustrated by events, the person experiences anger. Anger clouds thinking. It leads the person to see things that don’t exist and fail to see things that do, remember things that didn’t happen and forget things that did. Wisdom, which depends on accumulated memories, is destroyed by this confusion of memory. With the destruction of wisdom, all is lost.