In the Bible that the Jews, there is a warning from God that unless the Jews completely got rid of the indigenous population that God would get very angry with them and he would punish them. The Jews have an obligation to go around eradicating the indigenous population. Take a look:
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.