The form I know is attributed to Douglas Adams[1]:
“A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.”
[1] https://www.goodreads.com/quotes/6711-a-common-mistake-that-...