God is patient, way more patient than us. God talking to Abram in Genesis 15:13-14 and 16 – he is waiting for "complete iniquity" for the Amorites:
"...they will be afflicted for four hundred years. But I will bring judgment on the nation that they serve, and afterward they shall come out with great possessions. And they shall come back here in the fourth generation, for the iniquity of the Amorites is not yet complete.”