Book of Zephaniah
In Chapter 3, as is common in prophetic literature in the Bible, a "remnant" survives God's judgement in Zephaniah by humbly seeking refuge in God. The book ends in with hope and joy, as God "bursts forth in joyful divine celebration" over his people.