That’s a simplistic view of rights, and ignores other conceptions of rights like natural rights.