a clever person may become the victim of his own ingenuity (idiom); cleverness may overreach itself
too smart for one's own good
Definitions (Wiktionary)
proverb
Cleverness may overreach itself; A wise man can be ruined by his own wisdom; Clever people may be victims of their own cleverness; Every man has a fool in his sleeve.