I would not have a clue as to how to explain that..You say you let god guide you.
Feel free to explain how it is that you are guided.
taught a code..(if you are referring to a code of conduct)Regardless, what is clear is that you are being given a code.
the difference being 'given' requires no effort on my part..