Let me quote from the book of Joshua.
And Joshua said, ``Hereby you shall know that the living God is among you, and that he will without fail drive out from before you the Cannaanites, the Hittites, the Hivites, the Perizzites, the Girgashites, the Amorites, and the Jebusites." (3:10)
Then they [the Israelites] destroyed all in the city [Jericho], both men and women, young and old, oxen, sheep, and asses, with the edge of the sword. (6:21)
And when Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city went up, then they turned back and smote the men of Ai. And the others came forth from the city against them; so they were in the midst of Israel, some on this side, and some on that side; and Israel smote them, until there was none left that survived or escaped. But the king of Ai they took alive, and brought him to Joshua. When Israel had finished slaughtering all the inhabitants of Ai in the open wilderness where they pursued them and all of them to the very last had fallen by the edge of the sword, all Israel returned to Ai, and smote it with the edge of the sword. And all who fell that day, both men and women, were twelve thousand, all the people of Ai. For Joshua did not draw back his hand, with which he stretched out the javelin, until he had utterly destroyed all the inhabitants of Ai. (8:21-26)
And Joshua passed on with all Israel from Eglon to Hebron; and smote it with the edge of the sword, and its king and its towns, and every person in it; he left none remaining, as he had done to Eglon, and utterly destroyed it with every person in it. (10:36-37)
And all these kings joined their forces, and came and encamped together at the waters of Merom, to fight with Israel. And the Lord said to Joshua, ``Do not be afraid of them, for tomorrow at this time I will give over all of them, slain, to Israel; you shall hamstring their horses, and burn their chariots with fire." So Joshua came suddenly upon them with all his people of war, by the waters of Merom, and fell upon them. And the Lord gave them into the hand of Israel, who smote them and chased them as far as Great Sidon and Misrephothmaim, and eastward as far as the valley of Mizpeh; and they smote them, until they left none remaining. And Joshua did to them as the Lord bade him; he hamstrung their horses, and burned their chariots with fire. (11:5-9)
And Joshua turned back at that time and took Hazor, and smote its king with the sword; for Hazor was formerly the head of all those kingdoms. And they put to the sword all who were in it, utterly destroying them; there was none left that breathed, and he burned Hazor with fire. And all the cities of those kings, and all their kings, Joshua took, and smote them with the edge of the sword, utterly destroying them, as Moses the servant of the Lord had commanded. (11:10-12)
For it was the Lord's doing to harden their hearts that they should come against Israel in battle, in order that they should be utterly destroyed, and should receive no mercy but be exterminated, as the Lord commanded Moses. (11:20)
That's the first half of the book of Joshua. The second half discusses the division of the land thus depopulated among the various tribes of the Israelites.
We are fortunate to have this record of the traditions of the wars of an ancient people, whether real or legendary.
But this is a recipe for large-scale evil, not a theoretical evil, but an evil that is being carried out all the time in Palestine today. If you believe this is the Word of God, God help your neighbors. You will have no trouble at all justifying the killing of thousands of Palestinians who occupy the land you want.