Quoted word for word, in order of authority: the Church's councils, popes and catechisms first, then the Fathers, then later saints and Doctors, then Catholic commentators.
“Because I have kept the ways of the Lord” (ver. 21). That the breadth of good works, that are by faith, and the long-suffering of perseverance should follow after.
To cite this page: The Summa, “Psalm 17:22”, https://thesumma.org/read/bible/ot/psalms/17/22. Every quotation names its source; where each text comes from is listed on Sources and corrections.