I find this true in every area of my life, including my spiritual life.
When I’m struggling to focus on work or the Lord or the people in front of me, I find a book I like, usually fiction, and train my brain to get lost in it. It solves my focus problem every time.
Current book of choice for building focus is Hannah Coulter by Wendell Barry.