Spiritual strength is connected to faithful obedience to God's commands.
Since the success of believers is tied to our knowledge of and obedience to God's Word, the memorizing of portions of the Bible is advisable.
God is not naïve in the giving of His laws; He anticipates our disobedience even as He commands our obedience.