Psalm 22 is about a person who is crying out to G-d to save him from the taunts and torments of his enemies, and (in the last ten verses) thanking G-d for rescuing him.
It foresees the exile of the Jewish people, bemoans
their degradation, and prays for their restoration.
Ask a follow-up question