Then I would still have this consolation – my joy in unrelenting pain – that I had not denied the words of the Holy One.
NIV
Then would I still have consolation--yes, I would leap [for joy] amid unsparing pain [though I shrink from it]--that I have not concealed or denied the words of the Holy One!
AMP
Then should I yet have comfort; yea, I would harden myself in sorrow: let him not spare; for I have not concealed the words of the Holy One.
KJV