Idiom
be all in the mindbe all in the/(your) mind
if you say that a problem that is worrying someone is all in their mind, you mean that they have imagined the problem and that it does not really exist.His doctor tried to convince him that he wasn't ill and that it was all in the mind.