I'm fairly confident in terms of total cost of ownership and reliability of a new Focus will outlast the 5 year old C class.
of course it's a bigger car so more expensive to run. so buy a 5yo focus and get the best of both worlds.
Some older Mercedes might have a lower TCO than a 2018 focus, but only because the focus is disastrously unreliable.