As long as you keep it dry, wood has far better strength to weight ratio and fatigue loading characteristics. As long as you keep it dry it will last for decades.
All materials have trade offs. Helped a buddy build a plastic deck one time. Drastically heavier and more time consuming to install...plus the rails were sagging before it was complete. It was a nice deck but not for 3 times the cost and 4 times the effort to build.
For a weight sensitive item like an RV, that strength to weight ratio really makes a difference. Sure you could build a carbon fiber composite that's even better but it will be a lot more than a couple hundred extra.