I struggled with the very same exact thing for months after Ms. Wonka left the marital house. It is as if a voice inside our heads is telling us, "what a loser, you couldn't keep W! what's wrong with you?"
Yeah, those nasty voices are not good at all. Try to find a way to engage in self-care activities and surround yourself with friends. Call one of them if not able to meet in person.
How do you get out of it...? All I can think of is how great of a life W leads without me know.