In the open sight of others— This is a metaphor taken from executions, which are performed in public places amid a croud of spectators, for the sake of example.
Related Commentaries of Job 34:26
Job 34:26
26 He striketh them as wicked men in the openi sight of others;