Did I do the right thing?

Koreen
Wasn't sure where to post this btw sorry 
Alright so I come from a very strict religious background and have within the past year or so had some serious life changes  because I broke away and did my own thing and  my relationship with my family and some friends as of course affected in a negative way. I believe that my family relationships will mend in time. 
Friends, however, are different and there is one friendship that I actually care a lot about and we were very close but with my changes it really complicated thugs and this past year has been very difficult. He's said we need to talk less because he'd like to stay spiritual and my conversation is different and the like.... But we'd always end up talking a lot anyways 
but today I was not in the best of moods and he asked me why he hadn't seen any baby bump pics from me (he really likes kids) and I told him that it wasn't really my thing and most people I know are judgmental jack asses so there is no enthusiasm for me to show off a baby bump (since I'm not married and pregnant and I've grown up around enough of them to know how they talk I feel if you would not love my child it's none of your business to speak poorly of me or
My child) but anyways this was a problem because of my language..... 
So I told him it'd be best if we just stopped talking altogether because I would be offending him and he would feel guilty and it was just a mess. It's not something I WANTED to do. And now I'm heart broken because I really value this friend more than any other friend I just felt that I was dragging him down... Idk it was painful to do. And idk he seemed saddened I feel like it was best for him but idk I may have come off as cold.... Sigh I need other opinions on if this was the right thing. No bad mouthing please. 

Vote below to see results!