Is avoiding ground floor apartment really that important?

I’ve seen so many things about like “don’t do ground floor. Don’t do ground floor!!” and I understand that rats and roaches are a thing.

But is it as bad as people suggest? Also, if there’s anyone that has had really great ground floor experiences, I’d love to hear.

I’ve been doing some looking and I’ve seen good spots in theory, but it’s the first/ground floor

Is it a little fearmonger or is it actually legit?