God provides everything we need in the pages of His Word. He provides commandments, promises and even a glimpse into His own consciousness.
By reading, understanding and applying God's Word we can live a righteous life. By knowing God's word and keeping it in your heart, we gain wisdom and discernment to chose the right ways to go that will give God glory and then we will not sin against Him.
I am not perfect, buy you are and I have faith that by knowing your Word and keeping it in my heart you will lead me the right way and that I will not sin against you.