Ecclesiastes 10:8 in the World English Bible
He who digs a pit may fall into it; and whoever breaks through a wall may be bitten by a snake.
Context
7 I have seen servants upon horses, and princes walking as servants upon the earth.
8 He that diggeth a pit shall fall into it; and whoso breaketh an hedge, a serpent shall bite him.
9 Whoso removeth stones shall be hurt therewith; and he that cleaveth wood shall be endangered thereby.