It really depends on where you live. There are some parts of the world where environmental factors like ocean humidity or winter road salting will cause a car's frame to rust through in a few years if you're not careful. Look up the Rust Belt for an example.
On the other hand, if you live somewhere warm and dry, your car's frame and body will outlast its original mechanical components.
My friend's dog Greta. She was already an old lady when I took this picture in 2015 and passed a year or two ago.