The right to protect oneself and one’s property goes at least as far back as the Code of Hammurabi. Every ancient civilization from Babylon to Tenochtitlan had some variation of this idea. It is practically the definition of civilization itself.
But unless I've misunderstood Graeber, the idea entered modern jurisprudence and took its recogniseable form from the Roman Empire. In other words, it either looked considerably different in civilisations like Babylon and Tenochtitian, or there's a historic gap of weaker property enforcement between those civilisations and ours.
Likewise in pre-Columbian Mexico, as per the Florentine Codex:
“It was a crime to light a fire in the woods without permission, to cut down trees, to move boundary-markers, to take game from another man’s hunting trap and to steal crops from the fields. All these were crimes that could be punished by death.”
The idea that an individual has "[the] right to protect oneself and one’s property" is fundamentally inconsistent with the existence of slavery throughout most of humanity's history.