Goyim is another spelling of Goiim, a group of people whom Joshua defeated west of the Jordan River (Joshua 12:23).

See Goiim #2.