Job 28:3

He has established a time for darkness, and he has settled on an end for all things, as well as for the stone that is in the gloom and shadow of death

Other versions

King James Version

He setteth an end to darkness, and searcheth out all perfection: the stones of darkness, and the shadow of death.

English Standard Version

Man puts an end to darkness and searches out to the farthest limit the ore in gloom and deep darkness.

New International Version

Man puts an end to the darkness; he searches the farthest recesses for ore in the blackest darkness.