Mishneh Torah, Chapter 10, Halacha 3
A gentile who studies the Torah is obligated to die. They should only be involved in the study of their seven mitzvot.
The Hebrew Bible: Numbers 21:2
"Then the people of Israel made this vow to the Lord: "If you will hand these people over to us, we will completely destroy all their towns" (including the inhabitants of the land)
"Joshua said to the people of Israel, “The Lord has given you the city of the all silver, and gold, and vessels of brass and iron, are consecrated unto the Lord: They shall come into the treasury of the Lord. The people utterly destroyed all that was in the city, both man and woman, young and old, and ox and sheep and ass with the edge of the sword". (Joshua 6:21,23)
"And we took all his cities at that time, and utterly destroyed the men, and the women, and the little ones, of every city, we left none to remain".(Deuteronomy 2:34)
"Now therefore go, and smite Amalec, and utterly destroy all that he hath; spare him not, nor covet any thing that is his; but slay both man and woman, child and suckling, ox and sheep, camel and ass." (Samuel 15:3)
The Book of Isaiah, Chapter 60:16
"Thou shalt also suck the milk of the Gentiles, and shalt suck the breast of kings: and thou shalt know that I the LORD am thy Saviour and thy Redeemer, the mighty One of Jacob"
The Book of Isaiah, 60:12
"For the nation and kingdom that will not serve thee shall perish; yea, those nations shall be utterly wasted."
THE LAWS OF KINGS AND THEIR WARS
6) The obligation to destroy the seven nations living in the Land of Canaan;
7) The prohibition against allowing any one of them to remain alive;
8) The obligation to destroy the descendents of Amalek;
9) The obligation to remember what Amalek did;
Israel was commanded to fulfill three mitzvot upon entering the Promised Land:
a) To choose a king, as Deuteronomy 17:15 states: 'Appoint a king over yourselves;'
b) To wipe out the descendents of Amalek, as Deuteronomy 25:19 states: 'Erase the memory of Amalek;'
c) To build God's Chosen House, as Deuteronomy 12:5 states: 'Seek out His Presence and go there.'
“Amalek’s seed should be annihilated before the construction of the Temple”
“A king should not be appointed from converts to Judaism, ‘You may not appoint a foreigner who is not one of your brethren.’”
annihilate the seven nations who dwelled in Eretz Yisrael as Deuteronomy 20:17 states: 'You shall utterly destroy them.'
Anyone who chances upon one of them and does not kill him violates a negative commandment as ibid.:16 states: 'Do not allow a soul to live.' The memory of them has already been obliterated.
If they do not agree to a peaceful settlement, or if they agree to a peaceful settlement, but refuse to accept the seven mitzvot, war should be waged against them.
All males past majority should be killed. Their money and their children should be taken as spoil, but neither women or children should be killed, as Deuteronomy 20:14 states: 'But the women and the children... take as spoil." 'The children' refer to males below the age of majority.
The above applies to a milchemet hareshut fought with other nations. However, if either the seven nations or Amalek refuse to accept a peaceful settlement, not one soul of them may be left alive as ibid. 20:15-16 states: 'Do this to all the cities that ... are not the cities of these nations. However, from the cities of these nations,... do not leave a soul alive.' Similarly, in regard to Amalek, Deuteronomy 25:19 states: 'Obliterate the memory of Amalek.'
Not to forget the Milchemet Reshut (לחמת רשות) "Jewish Wars of Aggression" :
“milchemet reshut ... a war of aggression The Torah permits such a war to expand the borders of Eretz Yisrael, to capture captives,or because the King of Israel decides thatwar is good for the country and for God”
“Milchemet reshut is war against other nations to enlarge Eretz Yisrael and increase its prestige.”