Not getting my hopes up about my relationship

I’ve been with my boyfriend for a while...We talk a lot about the future and kids...but I have this thought in my mind like don’t get your hopes up..he’ll leave you eventually...does anyone else get these thoughts?