Your own people turned against you. You called on the Lord, He heard you, and now you want to thank Him.
If, hounded like that by your own people, you called on the Lord and He heard you, and now you want to give thanks, sing Psalms 4, 75 and 116.
Letter to Marcellinus
For the same situation he also named Psalm 75 and Psalm 116:1–9.