At the same time, Heathcliff is haunted by Catherine's ghost. He forgets his revenge, forgets to eat and to sleep, seeing Catherine's eyes from little Cathy and Hareton. He dies a defeated man.
If you're worried about an upcoming event or stewing over a conflict, for instance, you may focus on eating comfort food instead of dealing with the painful situation.