Psalm 40:2

He brought me up also out of an horrible pit, out of the miry clay, and set my feet upon a rock, and established my goings.

He brought me up also out of an horrible pit,.... Which, with the following phrase,

out of the miry clay, expresses the state and condition Christ was in at the time of his bloody sweat, his crucifixion, and his lying in "sheol", the pit or grave, sometimes rendered hell, which these figurative phrases fitly signify; when it is observed, that he was made sin, and had the sins of all his people on him; and, as the type of Joshua, was clothed with their filthy garments; he might be truly said to be in the miry clay; and also that he was made a curse for them, and bore the wrath of God in their room and stead; and was forsaken by his God and Father, and so endured both the punishment of loss and sense, and what was tantamount to the sufferings of the damned in hell; see

Psalms 69:1; to which may be added the noisy insults of malignant men, and the infernal fiends, who surrounded him on the cross; when he was in an horrible, or "noisy pit", as the words may be rendered {k}, the allusion being to subterraneous caverns or pits, in which the falls of water make so horrible a noise as is intolerable; or to deep pits, into which anything cast makes a great sound: and the issue of all this was, that he was laid in the pit of the grave, and held under the power and with the cords of death; from all which he was delivered when he was raised from the dead, justified in the Spirit, and glorified in the human nature by his God and Father;

and set my feet upon a rock; on Mount Zion in heaven, whither he was carried up after his resurrection; where he will remain until his second coming, being set down at the right hand of God, in a most stable, firm, and unalterable state, as well as an honourable one; for he will die no more, and death shall no more have dominion over him;

and established my goings; in treading the path of life, which was shown him at his resurrection; in passing through the air, the territory of Satan, at his ascension; and in his entrance into his glory, and making his way to his Father's right hand and throne.

{k} Nwav rwbm "e cisterna sonitus", Pagninus, Montanus; "strepitus", Vatablus, the Targum & Kimchi; and to the same purpose Musculus, Cocceius, Junius & Tremellius, Piscator; "out of the pit of sounding calamity", Ainsworth.