While imprisoned, Jeremiah prays to God. His prayer expresses joy and exclamation, recalls God's steadfast love, and offers words of hope.