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.
As the Arameans came down against him, Elisha prayed to the LORD, “Please strike these people with blindness.” So He struck them with blindness, according to the word of Elisha.
Nevertheless, the people of each nation continued to make their own gods in the cities where they had settled, and they set them up in the shrines that the people of Samaria had made on the high places.
גּוֹיgō·wthe people of each nationN-mscH1471גּוֹיgō·w…N-msH1471גּוֹיgō·wthe peopleN-mscH1471גּוֹיgō·w–N-msH1471
which sends couriers by sea, in papyrus vessels on the waters. Go, swift messengers, to a people tall and smooth-skinned, to a people widely feared, to a powerful nation of strange speech, whose land is divided by rivers.