King Solomon’s prayer reaches a powerful peak as he addresses the future fate of the Israelites in exile, pleading with God to hear their cries from His place in heaven. When asking God to carry out justice for the exiled nation, the focus is on divine retribution against their captors. This is a call for God to avenge the people against enemies who showed no mercy and placed a heavy burden upon them [רד״ק, מצודת דוד]. The ultimate goal of this punishment is to teach the surrounding nations a clear lesson, making them realize that God is displeased when they endlessly oppress the Israelites [מצודת דוד].
This plea for justice and mercy is also tied to specific historical events that followed the destruction of the First Temple. The call for justice points toward the downfall of future oppressors, such as Haman and his followers. Meanwhile, the request for mercy anticipates the reign of Cyrus, the King of Persia. It was Cyrus who ultimately showed compassion to the Israelites, allowing them to leave their captivity, return to their homeland, and rebuild the Second Temple [אלשיך, רד״ק].
Looking at the broader picture, a question arises: why does Solomon only ask for justice against enemies and mercy from captors, rather than pleading for an immediate and complete redemption from exile? The answer lies in his understanding of the Torah. Solomon knew that the final return of the exiles is destined for a specific time in the distant future, only after all the prophesied blessings and curses have come to pass. Because of this, he focuses on a practical, immediate hope. He asks that, through sincere repentance and prayer, God will at least lighten the heavy burden of exile and inspire their captors to treat them with mercy until the time of the final redemption [מלבי״ם].