You prepare a table before me in the presence of my enemies.
You anoint my head with oil; my cup overflows.
Begin the day by reviewing the firsts 4 verses of Psalm 23.
Now learn v5, phrase by phrase. If it's too long to do the whole chunk at once, just take it one sentence at a time, or even smaller - whatever works for you. Don't get discouraged. Just like the shorter verses, repetition is the key.
One thing to note - who is doing the actions in this verse?
Everything is done by God.
Everything is done through God's power.
Everything is done for God's glory.
It's not about us, it's about us glorifying Him. And when we glorify Him, we will find that we have everything we need.
LeRoy Eims on the importance of Scripture memory: "I think two of the master strokes of the devil have been to convince people he doesn't exist, and that Scripture memory is only for children. He remembers the humility of defeat when Jesus Christ, who was tempted in all points like as we are, met him with the Word of God." (What Every Christian Should Know About Growing; p. 26-27)