Numbers 33:55 If you don’t force out all the people there, they will be like pointed sticks in your eyes and thorns in your back. They will always be trouble for you, 56 and I will treat you as cruelly as I planned on treating them.
___________________
In the last statement, the god of the Jews was telling them that unless they did a complete expulsion of the indigenous population that God would get angry with his people and punish them. Therefore, the Jews have no choice but to go around eradicating the non-Jews of the world!