Why on earth do we carpet floorboards?

And le's completely clarify it's not the carpet or the rubber that's making the floorboards rust. It's the seals that are broken either in the doors or above the dash letting water in... Or tracking it in.
The carpet gives it a fighting chance to dry out but the rubber not so much. Also the rubber can collect condensation easier...