Your mind (brain) can be trained if you intend to do this training. Any behavioural pattern is the outcome of repetitive practice. If it is giving you pain, then this negative pattern can be changed. You need to reprogram your brain. Practice of mindful thoughts and beliefs, conscious inner life-affirmative self-talk can alter your brain through regular practice with love.
Train your brain with your mind, be happy!