Why did God command the destruction of the Canaanites?

They had 400 years to repent and rejected God, so their cup of iniquity was full and God's judgment was just.

Watch the Teaching: Who Is the Restrainer Holding Back the Antichrist?