take somebody out of himself, herself, etc.
take (one) out of (oneself)
To do something that distracts one from something causing worry, anxiety, or distress. He's been so stressed out about his exams that I think it's starting to affect his mental health. I think we should take him to Disney World for the weekend to take him out of himself for a while. My wife thinks it's silly that I still play video games, but it really helps to take me out of myself after a stressful day at work.