Looting was in large part the payment for soldiering. Whomever raised the army might pay a bit regularly for maintenance, but all the real money was in the spoils, and everyone involved knew it. Many is the army that failed to destroy a defeated foe because the victorious soldiers mostly wanted to loot the enemy camp.