-->
@disgusted
It is human nature to think one's own country or people is the best! The writers of the Hebrew bible certainly thought so - they were extreme chauvinists who had nothing good to say about any non-hebrew people or their gods. Accordingly, the Hebrew were never beaten by a superior people; they were only ever beaten as a punishment for displeasing their god.
The Hebrews - or their their yhwhist priests who wrote the bible - had no interest in anyone except themselves, considering them lesser beings not deserving of the same rights as Hebrews; hence the distinction between Hebrew and non-hebrew slaves etc.
Hebrew priests conflated religious identity with racial identity, and that remains so even today - consider whether 'Jew' an ethnic classification or a religious one!
It is theoretically possible for a non-ethnic jew to be a convert to judaism, but in practice there are many obstacles to it and it is very rare indeed. Anti-semistism is an indelible stain on humanity, but the Jews cared about racial purity. We read how Ezra felt about it:
The people of Israel, including the priests and the Levites, have not kept themselves separate from the neighboring peoples with their detestable practices, like those of the Canaanites, Hittites, Perizzites, Jebusites, Ammonites, Moabites, Egyptians and Amorites. They have taken some of their daughters as wives for themselves and their sons, and have mingled the holy race with the peoples around them. And the leaders and officials have led the way in this unfaithfulness.” When I heard this, I tore my tunic and cloak, pulled hair from my head and beard and sat down appalled....Then Ezra the priest stood up and said to them, “You have been unfaithful; you have married foreign women, adding to Israel’s guilt. Now honour the Lord, the God of your ancestors, and do his will. Separate yourselves from the peoples around you and from your foreign wives.”The whole assembly responded with a loud voice: “You are right! We must do as you say.
(Ezra 9:1-3, 10:10-12)
Sad to say all people are prone to bigotry and hatred. If we don't recognise that fact then racism and religious bigotry won't ever be defeated..
It may be that yhwh was thought to be the god of all, but yhwh's relationship with Hebrews/Jews and with Gentiles in the OT was not the same.