“And if the Lord your God enlarges your territory, as he swore to your ancestors…”
And if . The eternal God is not arbitrary; he does not go back on his promises. But there were conditions and consequences associated with the covenant. God had promises to keep, but so did the people of Israel.
