It's all about how the residual (which is agreed to when the lease is signed) compares to the actual value of the car. You could actually come out "ahead" as opposed to if you had just borrowed, but most likely you'll be worse off as the dealer will often over-state residuals.