Justice and Mercy in One Act
Commentators explain that God giving the land to Israel was a dual act. It was an act of justice against wicked kings and their idolatrous nations, but simultaneously an act of profound mercy and lovingkindness to His people. As Albert Barnes notes, it can be a mercy to the world to remove corrupt rulers and transfer their resources to those who will use them for righteousness.