Apparently from the same root as H1465 (in the sense of massing); a foreign nation ; hence a Gentile ; also (figuratively) a troop of animals, or a flight of locusts: - Gentile, heathen, nation, people.
561 occurrences in 511 verses in the Hebrew Old Testament.
Let the priests, the ministers of the LORD, weep between the porch and the altar, and let them say, Spare your people, O LORD, and give not your heritage to reproach, that the heathen should rule over them: why should they say among the people, Where is their God?
Yes, the LORD will answer and say to his people, Behold, I will send you corn, and wine, and oil, and you shall be satisfied therewith: and I will no more make you a reproach among the heathen:
בַּגּוֹיִֽם׃ba·go·yimamong the nationsRd/NcmpaH1471