that halfway through my life
"that before I have grown old." This refers to dying at middle age, before growing old.
I will go through the gates of Sheol
"I will die and go to Sheol"
I am sent there for the rest of my years
"before I have lived all of my years I will go to the grave"