They confronted me in the day of my calamity: but the LORD was my stay.
Read Chapter 18
Augustine of Hippo
AD 430
19. "They have prevented Me in the day of My affliction" (ver. 18). They have first injured Me, in the time when I am bearing a mortal and toilsome body. "And the Lord hath become My stay." And since the stay of earthly pleasure was disturbed and torn up by the bitterness of misery, the Lord hath become My stay.
Affliction, when my friends joined Absalom. (Theodoret)
In the rest of this psalm, the prophet chiefly uses words in the obvious sense, yet mystically speaks of Christ, and of the faithful. (Worthington)