To sum it up:
If you can afford to BUY a 30k car, but you want the convenience of leasing, you can only afford to LEASE a 25k car.
Sometimes a deal will pop up and it makes sense to lease, but generally it doesn't.
The numbers are made up, but the idea should be the correct most of the time.