Leasing better than buying??
Yes, why you have to buy the car after leasing it?
If you are affortable, sure it's best to buy the car.
Else, leasing gives you a great option of spending less money to use the car for couple years. If you do the calculation correctly on depreciation and the leasing payment, the monthly payment for leasing and buying the car really are not that much different for 3 to 5 years period.
If you take cares of the car well, with low mileage, and get a buyer who is willing to purchase your car, sure you maybe very lucky to sell the car at high price ten years later. That's another story with someone with a good pay job, want to own the car for 7 to 10 years, financially affortable, etc.