Job 11:18 in the King James Version
And thou shalt be secure, because there is hope; yea, thou shalt dig about thee, and thou shalt take thy rest in safety.
Context
17 Life will be clearer than the noonday. Though there is darkness, it will be as the morning.
18 You will be secure, because there is hope. Yes, you will search, and will take your rest in safety.
19 Also you will lie down, and no one will make you afraid. Yes, many will court your favor.