At one point, God told them to kill every man, woman and child when they took an area because He, in His Divine foreknowledge, knew what would happen by the hand of those people many years later.
The Israelites must have had some hand-wringing leftist types even back then and now today the descendants of those not wiped out are doing their darndest to remove the Jewish people from the face of the earth.
If they had done it right the first time they/we wouldn’t be having a lot of the mideast problems we are having today.
If the Jews had not become faithless and had not turned their backs against God, we would likewise not have these problems today.