Rights are derived either from the minds of men, or from the mind of God.
If from men, they are applicable either equally or unequally to each individual, being dependent in an existential sense on the opinions of men.
If from God, they are applicable equally to all men, so that no opinion from any man can affect their essential nature.
That’s all very fine reasoning, but in actual practice, as we can see, human access to those rights over the centuries demonstrates how utterly “from the minds of men” they are. Your God never declared them in the Bible. He gave us Ten Commandments, not Amendments.