No, steels have 4-6x higher tensile strength (and better performance in other related properties) than raw iron. [0] They're not just preferred over iron for their corrosion resistance.

And note that even what we call "cast iron" - a material that reasonably could be preferred to steel for some industrial purposes - is an iron-carbon alloy that in fact has more carbon than steel[1].

[0] https://www.texasironandmetal.com/strength-of-steel-compares...

[1] https://en.m.wikipedia.org/wiki/Cast_iron