Goi means a member of a nation. It’s not offensive.
I posted a dictionary definition of "goy" which said it was offensive.