Was I wrong? 😥

Tell me your honest opinion. So I was talking to my sister bc my family told me “what are you gonna do if your husband leaves you?” I’m 23 and we have a baby together (planned baby) and my family isn’t used to someone being young to have a baby so they bashed me and continue to. My husband has provided SO MUCH for us. He’s the absolute best! He’s really happy with his life and so am I. So I told my sister “i really don’t know why they’d say that to me? If he decided one day that he wasn’t happy and left me and our son, I wouldn’t feel like my life we as ended.” I told my husband “Babe, is it bad that i feel like if you were to leave us, i wouldn’t feel like my world was ending? That I would continue to live life and be independent?” And he said no that’s not bad & that he agrees I would be independent but I feel kinda wrong for telling him that. I love that man so much but I feel bad. Did I say something wrong?