The key to living a virtuous life is to orient ourselves to a “good” and perfect law giver first and trust that He and His laws are truly good, and then obedience will come. This leads us to the first two commandments.
Exodus 20:3–6
3 “You shall have no other gods before me.
4 “You shall not make for yourself a carved image, or any likeness of anything that is in heaven above, or that is in the earth beneath, or that is in the water under the earth. 5 You shall not bow down to them or serve them, for I the LORD your God am a jealous God, visiting the iniquity of the fathers on the children to the third and the fourth generation of those who hate me, 6 but showing steadfast love to thousands of those who love me and keep my commandments.