Sirach (Ecclesiasticus) 27:26

Whoso diggeth a pit shall fall therein: and he that setteth a trap shall be taken therein.

Brenton's English Septuagint