{ It was great moments } ,{ they were great moments } ?

how are you ? I wish you have a great life where you are
if I traveled to any country and I came back to my back home
I will say like { It was great moments } ,{ they were great moments } or { it were great moments }

which one is correct form in english grammar
it makes me so confused

Of the three, only “they were great moments” is correct.

“it were” is always incorrect in the way you are trying to use it. “it was” is correct in itself but refers to a singular thing, so does not match the plural “great moments”. You could say “it was a great moment”, for example.