Ecclesiastes 10:8 in the King James Version
He that diggeth a pit shall fall into it; and whoso breaketh an hedge, a serpent shall bite him.
Context
7 I have seen servants on horses, and princes walking like servants on the earth.
8 He who digs a pit may fall into it; and whoever breaks through a wall may be bitten by a snake.
9 Whoever carves out stones may be injured by them. Whoever splits wood may be endangered by it.