He told Israel not to think it was because of Israel's righteousness that Yahweh gave them possession of the land.