???

i am learning that i have to get rid of the people in my life that cause me anxiety and are a bad influence on me.  people who push me to the point of drinking.  how can i change the way i think or handle shit without drinking if they are at this time in my life adding pressure to my everyday life?   i cant.  i just cant deal with some people so i have walked away and said screw it.  i need my space this has to be about me right.  i have to think of my well being.  its just hard it hurts.  some of these people i have such deep feelings for but i know at this time in my life if they are in it nothing will change or it will be to difficult to deal.  maybe sometime down the road but now now.  this makes me very sad.  am i doing the right thing?