The focal point of this psalmist, a fella who has his back against the wall and is surrounded by those who want to do him in, is this:
The sum of your word is truth;
and every one of your righteous ordinances endures forever.
It is no wonder that the rabbis love this psalm; it is Torah-centric.
The “sum” or other ideas connected to this term (rosh): tip of a mountain, top of the tower, top of the mast or tree, the ears of a corn, the chief of a nation or group, the best… etc..
For that reason, the psalmist faces God with his back against the wall, pleas with God, and asks God to preserve his life.