Biblical hope is not optimism. Optimism expects things to go well; hope holds on when they are not. The verses gathered here were almost all written from inside trouble — exile (Jeremiah 29:11), ruins (Lamentations 3), prison (Philippians) — which is exactly why they still work on hard days.
A pattern worth noticing: hope in Scripture is nearly always attached to God's character rather than to circumstances improving. “Those who wait on the Lord” renew their strength; the promise is about who is being waited on, not how soon the wait ends.
If you are in a long season, read Lamentations 3:22 in its full context. The writer does not minimize the disaster happening around him — he simply refuses to let it have the last word. That is the tone of every verse in this set.