No, you throw money in the trash when you lease. There are plenty of expert opinions on this topic that will tell you the same thing. If you finance and trade in a car after 3 years, you are throwing money in the trash. That's probably what YOU did.
Most cars are good for at least 8 years before needing any major repairs so if you buy a car and pay it off after 5 years, you have 3 good years of no payments. If you get a Hyundai, you got that extended warranty and can go 10 years with a powertrain warranty.
Do the math and tell me how leasing is a better deal than financing one of these Hyundai's or Kias with a 10 year powertrain warranty and keeping that 1 car for 10 years. I'll wait.