Laws only work insofar as people are willing to obey them. Some people are born with psychological conditions that make them whackos. It’s almost inevitable that bad things will happen.
Someone might get greedy and “covet thy neighbor’s goods.”
You’d have to develop some sort of justice system.