One reasonable principle is that laws ought to reduce harm.
That is a bit glib, but so is your bald assertion that states ought to be concerned only with principle. It is neither part of our legal tradition nor even a plausible interpretation of the foundational ideas of most currently constituted governments.
I see where you are coming from, but I don't know that, as humans currently understand things, your argument really has traction on reality.