Leviticus 24:12

Then they put him in custody, that the mind of the LORD might be shown to them.