Paul Laurence Dunbar said this quote

In his moments of pride he had said all those things, half in fun and half in earnest, and he began to wonder how he could have been so many kinds of a fool for so long without realising it.