This is too simplistic. One problem is players know that money in future years is not guaranteed, so all things being equal they take money now over the same amount several years out.

So, in order to push money into future years teams give large signing bonuses. In pay as you go, you can cut an underperforming player with little consequences. With a large signing bonus, you have dead cap if you cut them.