And the peace of God, which transcends all understanding, will guard your hearts and your minds in Christ Jesus. Phil 4:7
Moods and feelings will repeat themselves, but if you bypass them and go for it (whatever that "it" is), you'll be a step closer to where you want to be.
For everything that was written in the past was written to teach us, so that through the endurance taught in the Scriptures and the encouragement they provide we might have hope. Romans 15:4