Food risk??

I know I need to stop using Dr. Google. Literally everything on the internet says it can hurt your baby from junk food to ice cream. My question is if fruits and vegetables pose a listeria risk ... why do doctors recommend us to eat them? I've literally stopped eating my fruits and veggies due to the fear of harming my baby with listeria.
Maybe I'm overly paranoid. But I don't understand the logic here.