expression, ichidan verb
be distracted from negative feelings; take one's mind off things
Describes a shift of attention away from unpleasant emotions such as depression, boredom, or tension, often through some activity or change of scene.
散歩をしたら気が紛れた。
Taking a walk distracted me from my worries.
何か作業をしていれば気が紛れるよ。
If you keep yourself busy with something, it'll take your mind off things.