While the verse numbers don't come to my memory, there are verses in the Proverbs that hold the key:
As a man thinks, so he is.
Out of the abundance of the heart the mouth speaks.
The Bible is the inspired written word of God Almighty. It comes from His heart -the very seat of His thoughts- and shows who He is.
King David was called a man after God's own heart. David- who wrote most of the Psalms- wrote on several occasions how he would meditate (simply means active thought control, not sitting funny, humming, and fighting your thoughts) or muse, ponder, or even talk to himself (we all catch ourselves doing it, lol) about God's laws.
You can do the same. The apostle Paul wrote (I think in the book of Hebrews) that the Old Testament was written for our examples.
Will you follow the example of one of the greatest servants of God of all time?