Opinions and advice needed

My ex who I was with for 2 years cheated on me ( I loved him very much) and confessed he was only using me for sex.... i might be pregnant is it wrong of me that I don’t want him involved if I am, or is it understandable? He brings me down all makes me feel stupid and like I am nothing I don’t want to be tied to him but a termination isn’t something I’d consider also he lives a good 20 miles away