Single for life?

So, I just turned 18 and I just also found out i’m pregnant. I’ve been with my boyfriend for 9 months. My best friend told me that she’s happy for me but also sad for me, I asked why and she told me that; if I don’t end up with my boyfriend (the father) that I will be single for the rest of my life and it’ll just be me and my baby because “nobody wants to be with a woman with a kid especially that young”!! I was baffled she said this to me! Is this true!? I like to believe me and my boyfriend will get married, but we do have our ups and downs and life is unexpected. Have any of you single moms had a hard time finding a boyfriend? P.s - My son/ daughter will always be my first priority not a man, but she just really freaked me out and made me feel shitty