Where do rights come from government or god?

If god exist they come from god

if god doesn’t exist they come from government and governments can do what ever they want to there people they can give rights to its citizens or take them away.

Where do rights come from government or god?
Post Opinion