It is patently wrong to believe that the government creates rights. Rights are absolute and inalienable, and they remain unchanged whether government exists or not.

Governments sometimes enforce rights, and sometimes violate rights, but they cannot create, remove, delete or take them away. Government agents might imprison the person who mugged you. In so doing they enforce your rights. Government agents might also take your money by force and use it buy votes from minority groups. In so doing they violate your rights.

Government is not about rights. Government is merely about power. The power of the elites, the power of the power bloc, or perhaps in a democracy, the power of the majority.

When the government passes a new law, and politicians proudly proclaim that they have given people the right to a (taxpayer funded) flush toilet, or maybe to paint their houses whatever color they want to, they have not created a right at all. They may have given people the power to do something. In the first case they have given people the power to violate the rights of others (by taking their money in the form of taxes). In the latter case they have given people the power to exert their right (to paint their own house whatever color they want).

But nothing the government will ever do will create or remove a right.