This phrase means that whoever wins the battle or competition will be rewarded with the spoils, or the rewards. It suggests that the rewards should go to the winner, as is only fair. For example, if a football team won a championship, they would be entitled to the spoils, such as cash prizes or a trophy.