Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Ecclesiastes 10:8

He that diggeth a pit shall fall into it; and whoso breaketh an hedge, a serpent shall bite him.

Read in other translations