Ecclesiastes 10:8

NASB
He who digs a pit may fall into it, and a serpent may bite him who breaks through a wall.