Isaiah 26:9

7 The path of the righteous is level; You clear a straight path for the upright.

8 Yes, we wait for You, O LORD; we walk in the path of Your judgments. Your name and renown are the desire of our souls.

My soul longs for You in the night; indeed, my spirit seeks You at dawn. For when Your judgments come upon the earth, the people of the world learn righteousness.

10 Though grace is shown to the wicked man, he does not learn righteousness. In the land of righteousness he acts unjustly and fails to see the majesty of the LORD.

11 O LORD, Your hand is upraised, but they do not see it. They will see Your zeal for Your people and be put to shame. The fire set for Your enemies will consume them!

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
My soul longs for You in the night; indeed, my spirit seeks You at dawn. For when Your judgments come upon the earth, the people of the world learn righteousness.
KJV
With my soul have I desired thee in the night; yea, with my spirit within me will I seek thee early: for when thy judgments are in the earth, the inhabitants of the world will learn righteousness.
WEB
With my soul I have desired you in the night. Yes, with my spirit within me I will seek you earnestly; for when your judgments are on the earth, the inhabitants of the world learn righteousness.
ASV
With my soul have I desired thee in the night; yea, with my spirit within me will I seek thee earnestly: for when thy judgments are in the earth, the inhabitants of the world learn righteousness.
DARBY
With my soul have I desired thee in the night; yea, with my spirit within me I seek thee early: for when thy judgments are in the earth, the inhabitants of the world learn righteousness.
BLB
[With] my soul I have desired You in the night; yes, [with] my spirit within me I seek You early; for when Your judgments [are] on the earth, those dwelling in the world will learn righteousness.
ÅB
Med min sjel lengtes jeg etter deg om natten, og med min ånd søkte jeg deg. For så snart dine dommer rammer jorden, lærer jordboerne rettferdighet.
OTB
Om natten lengter min sjel etter deg, ja, min ånd inni meg søker deg ivrig; for når dine dommer kommer over jorden, lærer verdens innbyggere rettferdighet.
B1930
Med min sjel lengtes jeg efter dig om natten, og med min ånd søkte jeg dig. For så snart dine dommer rammer jorden, lærer jordboerne rettferdighet.

Study notes (Tyndale)

Original text and word study

Cross references