Job 7:4:

When I lie down, I say, When shall I arise, and the night be gone? and I am full of tossings to and fro unto the dawning of the day.

See also:

Job Explained
Condition: Insomnia
Condition: Mental Illnesses