Find the word definition

Wiktionary
ye gods

interj. (context idiomatic dated euphemistic English) You gods! (non-gloss definition: Used to express surprise or incredulity).

Wikipedia
Ye Gods

"Ye Gods" is the second segment of the fifth episode of the first season (1985–86) from the television series The Twilight Zone.