Harm set, harm get. Those who lay traps for others get caught themselves. Haman was hanged on his own gallows. Our Lord says, “They that take the sword shall perish with the sword” (Matt. xxvi. 52).
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894