To 'turn a blind eye to' looks similar in form, but doesn't work here, meaning to deliberately overlook a wrongdoing.
To put [something] out of [one's] mind is a transparent metaphor and is often[*] used for a deliberate choice to stop thinking about something unpleasant or out of reach at the moment.
Not to be confused with '[being] out of one's mind'!
Examples, courtesy of Ludwig.guru:
Then we put it out of our minds. The New York Times
I tried to put it out of my mind. Forbes
"You try to put it out of your mind," said Ms. Davis's sister Crystal. The New York Times
The oil boom ended all that and put it out of mind. The New Yorker [*non-volitional]
Unfortunately, no seats became available, so I put it out of my mind. The New York Times
I put it out of my mind and didn't think about it until a month later. The New Yorker
A lot of it is just trying to put it out of your mind and maybe it'll disappear. The New York Times
and a variant: As to the passive-aggressive nonsense of the anonymous
note, try to put it out of your head. The New York Times
As the penultimate example shows, there is a [possible?] association with denial.