Job 12:18

18 He looses the authority of kings, And he binds their loins with a loincloth.[fn]

Footnotes

18

The likely meaning is that God, having removed their symbol of authority, puts a loincloth on the kings which is worn for doing hard physical labor, and so depicts a slave.