He hath made me to dwell in dark places, as those that have been long dead.
Darkness here means the grave and Sheol, not the dead of antiquity but the eternally dead who lie in a night from which there is no return. Whether they died long ago or recently makes no difference; both lie in equal darkness.
AI summary
set me--HENDERSON refers this to the custom of placing the dead in a sitting posture. dark places--sepulchers. As those "dead long since"; so Jeremiah and his people are consigned to oblivion (Psa 88:5-6; Psa 143:3; Eze 37:13).
The Prophet means he dwells in darkness not briefly but as though long dead, his body putrid and decayed, with no hope of life. This seems hyperbolical, but we cannot overstate the sorrow of the faithful when terrified by God's wrath.
AI summary