Psalms 105:22

NASB
To imprison his princes at will, That he might teach his elders wisdom.