God doesn't give the authority for anyone to take someone elses life away. The government doesn't but that's not saying they have a right to do it. I am opposed to capital punishment.
Romans 13:1 Let every person be subject to the governing authorities, for there is no authority except from God, and those authorities that exist have been instituted by God. 2 Therefore whoever resists authority resists what God has appointed, and those who resist will incur judgment. 3 For rulers are not a terror to good conduct but to bad. Do you wish to have no fear of the authority? Then do what is good, and you will receive its approval, 4 for it is God’s agent for your good. But if you do what is wrong, you should be afraid, for the authority does not bear the sword in vain! It is the agent of God to execute wrath on the wrongdoer. 5 Therefore one must be subject, not only because of wrath but also because of conscience. 6 For the same reason you also pay taxes, for the authorities are God’s agents, busy with this very thing. 7 Pay to all what is due them: taxes to whom taxes are due, revenue to whom revenue is due, respect to whom respect is due, honor to whom honor is due.
8 Owe no one anything, except to love one another, for the one who loves another has fulfilled the law. 9 The commandments, “You shall not commit adultery; you shall not murder; you shall not steal; you shall not covet,” and any other commandment, are summed up in this word, “You shall love your neighbor as yourself.” 10 Love does no wrong to a neighbor; therefore, love is the fulfilling of the law.
The other rights we have a basic to human nature. No one who is healthy physically and/or mentally wants to be killed, enslaved, lied to or about or have their property taken from them. Slaver owners didn't want to the slaves and bank robbers would should complain if their house got broken into.
What you pointed out is why God instituted governments and why we have laws. Laws instituted by men define our rights.
The writers of the declaration of independence were elitist hypocrites, imo. Slaves weren't allowed to vote. Slaves and women didn't have the same unalienable rights as white, free, landowners.
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.
What about the sick, infirmed, elderly, young, blind, impaired in some way and those with cognitive impairments (dementia)? Do they have rights?