“You don't realize that you're intelligent until it gets you into trouble.”
James Baldwin (1924–1987) (1924-1987) writer from the United States
Interview with Julius Lester, "James Baldwin: Reflections of a Maverick" in The New York Times (27 May 1984)
Variant: You don't realize that you're intelligent until it gets you into trouble.