Isaiah 26:9 YLT

9 [With] my soul I desired Thee in the night, Also, [with] my spirit within me I seek Thee earnestly, For when Thy judgments [are] on the earth, The inhabitants of the world have learned righteousness.