So let's make a rock out of mythos, put things upright:
Right Virtue, moral, good householder, is rooted in right resolve.
And what is right resolve? "Being resolved on renunciation, on freedom from ill-will, on harmlessness: This is called right resolve.”
Right resolve is rooted in right view.
What's right view?
There is the case where a certain person is not covetous. He does not covet the belongings of others, thinking, 'O, that what belongs to others would be mine!' He bears no ill will and is not corrupt in the resolves of his heart. [He thinks,] 'May these beings be free from animosity, free from oppression, free from trouble, and may they look after themselves with ease!' He has right view and is not warped in the way he sees things: 'There is what is given, what is offered, what is sacrificed. There are fruits & results of good & bad actions. There is this world & the next world. There is mother & father. There are spontaneously reborn beings; there are brahmans & contemplatives who, faring rightly & practicing rightly, proclaim this world & the next after having directly known & realized it for themselves.'
Eg. gratitude, seeing goodness, debts, sacrifices.
Right view is rooted in faith.
Faith is rooted in right, good association.
Sro wrong association leads to lack of faith (in liberating, good), lack of faith to wrong view, wrong view to wrong resolve, wrong resolve to wrong virtue, wrong virtue to wrong effort... wrong mindfulness, ...wrong concentration, ... wrong (no) release.