Bought my wife an Elantra several years ago and it had just under 300K on it when someone pulled out in front of my granddaughter and totaled it. Never had a minutes trouble with anything more serious than an alternator or a brake rotor. Daughter had one with similar miles when she sold it.
I drive an old Elantra (salvage title) as a work car. Knock on wood, but it has been great. Has about 170k on it now and had about 56k on it when I got it.