Exactly correct. These rights exist whether recognized or not. They are a priori. You HAVE the right to life. From that springs all other rights. A is A. </Ayn Rand rant>
“You HAVE the right to life. “
And that is why you have the right to murder-death-kill anyone who seeks to TAKE your life or the lives of others.
This is a social compact for humans to live together in societies. We are a social creature but we have difficulty getting along. We can’t live with each other but we can’t live (well) without each other.