1 verses of the King James Version have both "visiteth" and "what".
Job 31:14 What then shall I do when God riseth up? and when he visiteth, what shall I answer him?
In other translations: ASV Webster