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.
Both your slaves, and your bondmaids, which you shall have, shall be of the heathen that are round about you; of them shall you buy slaves and bondmaids.
But I will for their sakes remember the covenant of their ancestors, whom I brought forth out of the land of Egypt in the sight of the heathen, that I might be their God: I am the LORD.
הַגּוֹיִםha·go·yimthe nationsTd/NcmpaH1471
The highlighted words show how this word is translated in each verse. Some verses have no highlight, and a few highlights may not be exact.