Job 27:2:

As God liveth, who hath taken away my judgment; and the Almighty, who hath vexed my soul;

See also:

Objection: Job Was a Godly Man, Yet God Let Him Get Sick