rejecting myself

Hi ! I’ve been coached on a subject and my result was that because I was afraid of being rejected by others in certain situations I finally ended rejecting myself. The question I wanted to ask you if why it seems to be less painful to do that ? Why I am ok to not do something I want to do because of my fear to be rejected ? And why it doesn’t feel that much hard to reject myself ahead of time ? Thanks for your help !