Unless thy law [had been] my delights, I should then have perished in mine affliction.
Unless Thy law had been my delight, I should then have perished in mine affliction.