ESV: he keeps back his soul from the pit, his life from perishing by the sword.
NIV: to preserve them from the pit, their lives from perishing by the sword.
NASB: He keeps his soul back from the pit, And his life from perishing by the spear.
CSB: God spares his soul from the Pit, his life from crossing the river of death.
NLT: He protects them from the grave, from crossing over the river of death.
KJV: He keepeth back his soul from the pit, and his life from perishing by the sword.
NKJV: He keeps back his soul from the Pit, And his life from perishing by the sword.