Leviticus 24:12 (KJV)

And they put him in ward, that the mind of the LORD might be shewed them.