The nations have sunk down in the pit that they made.
Their foot has been caught in the net that they hid. Bible see other translations

“in the pit that they made.” It is a consistent theme through Scripture that evil people bring evil upon themselves (see commentary on Prov. 1:18). Although this applies to individuals, it also applies to a great extent to nations. Especially if the leaders of a nation act in such a way that wickedness thrives and godliness is stifled and subverted, demons gain access to the nation and through the influence of demons and evil people the nation is greatly harmed and in some cases totally ruined.

Commentary for: Psalms 9:15