T o bind his princes at his pleasure and teach his elders wisdom.
He could punish the rulers as he pleased. And he taught wisdom to the wise.