Compare the real cost of both ways of financing.
With a lease you pay to use the asset and at the end you can buy it for the residual value. With a loan the asset is yours from the start.
The agreed price to keep the asset when the lease ends, usually a percentage of the original value.