Frodo doesn't choose the route through the Dead Marshes because it's safe.
He chooses it because Gollum knows it — and Gollum knowing it is the only asset available.
Sometimes the guide most drawn to the danger is the only one who can lead you through it.