A principle is something that helps a person know what is right and wrong and that influences their actions.
Principle. Merriam Webster. Webpage.