Does he think I'm desperate?

Is it bad to tell your man that he's your everything and that you wouldn't know what to do without him? I was talking with a friend of mine and she told me that it sounds desperate and makes a man feel too secure and take you for granted, and eventually leave you... I feel terrible. I've always made it a priority to tell my SO how much he means to me and now I feel like I shouldn't have done it. I've felt that our four year relationship with a baby coming and everything is already serious enough to express how we truly feel without having to be afraid of saying the wrong thing.

What do you think?