Would you date a girl with a chronic disease?

I have epilepsy and once it started to happen frequently people stopped talking to me as much. Maybe it’s because I’m gone from school for long periods of time so it’s hard to keep a stable relationship idk. I heard guys talking and they said they would try to avoid a girl with an illness because they don’t want their lover to die and it would make them sad to see what they’re going through. I’m also very insecure about it and other things. So thoughts and opinions.