Ordinary Toyotas have a 5-year warranty, plus an additional 2-year warranty for the drivetrain if you perform the semi-annual maintenance.
That's not even mentioning Mitsubishi's 10 year-warranty, Tesla's 8-year warranty, and Kia's 7-year warranty.
Hyundai is good but not that exceptional.
Ref: https://www.whichcar.com.au/car-advice/which-car-manufacture...