newborn and cats

I have a 11y old cat which i love and i don’t want to let go of him never. He been with me though a lot and kept me smiling due to my father passing away and he is very careful with me always. A good cat all in all.

A lot of people told me i MUST let go of the cat once the baby is born because it’s very very dangerous. I’m willing and i told myself before that i’ll get my cat checked up again close to birth just in case but i know he’s healthy. He only lives in apartments no meeting new animals not going outside.

How do you coupe with animals and newborn ? Please i need advice. In no way i will put my cat on the street.