"O how love I Thy law! It is my meditation all the day. Thou through Thy commandments hast made me wiser than mine enemies: for they are ever with me. I have more understanding than all my teachers: for Thy testimonies are my meditation. I understand more than all the ancients, because I keep Thy precepts." Psalm 119:97-100
A good understanding of the spirit of God's law/laws is good medicine for the prospering soul. David remembered what he had done. David knew about his affair with Bathsheba and many other foolish and sinful mistakes he had made. But David is growing up. It's like that with us too. It's not that we haven't sinned or that we haven't made many foolish choices. It's that we come to our senses and do something about it. It is better to chastise yourself and make the necessary adjustments to follow the ways of God than to come to an abrupt end caused by your unfortunate circumstances.
Clean it up. Clean up your mind, your mouth, your behavior, your propensities, your ways. David found that following the ways of God was far better than anything he had previously considered. You will find that to be true too. The ways of God are not suppressing and boring, but exciting and full of adventure, life and goodness, blessings and gifts and pleasure of the God kind that out do those of the carnal kind. David understands.
To meditate on the law of God or the testimonies of God is to meditate on the thoughts of God, God-thinking. If you were to practice a little each day,you would find that God will keep His Word. I believe a good start is to read one verse a day, but everyday, no excuses. It is a good discipline. You might find that a verse a day is just not enough. That's a good thing. It's the discipline that counts not the number of verses you read. As time goes by you will be drawn by some of the verses to dig deeper and you will find that God knows what He is talking about. You will find that even a moment with God in understanding cannot be compared to anything that brings pleasure in this world. You will say with David, "O how love I Thy law!"
Don't be afraid to get to know God. The God of the Bible is perfect toward you. It is possible that what you learned about God in Sunday School was not all there is to know. You will not be disappointed if you take this advise and get closer to God than ever before, but you will be disappointed if you continue on the path of "Oh well."
7 hours ago