From Longman Dictionary of Contemporary Englishoccupy somebody’s mind/thoughts/attentionoccupy somebody’s mind/thoughts/attentionTHINK ABOUTif something occupies your mind etc, you think about that thing more than anything else → preoccupy Work will occupy your mind and help you forget about him. → occupy
Examples from the Corpus
occupy somebody’s mind/thoughts/attention• While she waited, she tried to occupy her mind with pleasant thoughts of the vacation.