Lease vs own is a long lasting debate. From 2016: https://www.nerdwallet.com/article/loans/auto-loans/leasing-buying-costs
Leasing is usually more expensive. Usually that is, there are times when manufacturers discount leases to move cars and leasing can be cheaper, not very likely today. Right now, leases are an extra profit item for auto dealers, common now to mark up origination fees and money factor for extra profit. If you buy out a lease right away you are likely to find your net cost is one to two thousand dollars higher than just buying the car. Can be more in some states where you are double sales taxed on such a transaction.
Leasing gives tax advantages to some. This can outweigh other costs of leasing.
Having an option to just return the car at end of lease can be very valuable if used car prices are low. Not very likely today. A lease is better than an upside down loan, or negative equity.
On the first point, the cheapest 2014 LEAF deal I saw the paperwork for was a lease. I bought my 2014 LEAF, and the offered lease when I bought wasn't anywhere close. If I was offered that lease I would have taken it.
You need to look carefully at each deal, and consider your situation. The world changes every day. Right now, lease deals are worse than average. Next month, next year, who really knows? And without knowing you, who really knows?