Max Lucado said this quote

Create a trophy room in your heart. Each time you experience a victory, place a memory on the shelf. Before you face a challenge, take a quick tour of God’s accomplishments. Look at all the paychecks he has provided, all the blessings he has given, all the prayers he had answered. Imitate the shepherd boy David. Before he fought Goliath, the giant, he remembered how God had helped him kill a lion and a bear (1 Samuel 17:34-36). He faced his future by revisiting the past.