Ecclesiastes 10:9

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.

Whoso removeth stones shall be hurt therewith; and he that cleaveth wood shall be endangered thereby.

10 If the iron be blunt, and he do not whet the edge, then must he put to more strength: but wisdom is profitable to direct.

11 Surely the serpent will bite without enchantment; and a babbler is no better.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
The one who quarries stones may be injured by them, and he who splits logs endangers himself.
KJV
Whoso removeth stones shall be hurt therewith; and he that cleaveth wood shall be endangered thereby.
WEB
Whoever carves out stones may be injured by them. Whoever splits wood may be endangered by it.
ASV
Whoso heweth out stones shall be hurt therewith; [and] he that cleaveth wood is endangered thereby.
DARBY
Whoso removeth stones is hurt therewith; he that cleaveth wood is endangered thereby.
BLB
The one pulling out stones will be hurt by them; the one splitting trees endangers himself by them.
ÅB
Den som bryter stein, kan få en skade av det; den som hugger ved, kan komme i fare ved det.
OTB
Den som bryter stein kan bli skadet av dem, og den som kløyver ved kan være i fare fra dem.
B1930
Den som bryter sten, kan få en skade av det; den som hugger ved, kan komme i fare ved det.

Study notes (Tyndale)

Original text and word study