1 verses of the King James Version have both "away" and "gained".
Job 27:8 For what is the hope of the hypocrite, though he hath gained, when God taketh away his soul?
In other translations: WEB Webster