40 he who pours contempt on nobles made them wander in a trackless waste.

Read Psalm 107:40 Using Other Translations

He poureth contempt upon princes, and causeth them to wander in the wilderness, where there is no way.
he pours contempt on princes and makes them wander in trackless wastes;
the LORD pours contempt on their princes, causing them to wander in trackless wastelands.