used to show surprise, lack of belief, etc.
ye gods!
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition