“Violence,” came the retort, “is the last refuge of the incompetent.”

Isaac Asimov (1920-1992) Russian-American author, polymath, biochemist
“Bridle and Saddle,” Astounding (Jun 1942)

Retitled "The Mayors" in Foundation (1951). The phrase appears multiple times in the story. See Johnson.