What does the wizard mean in the Wizard of Oz when he says he is not a bad man but a bad wizard?

The Wizard is not good (or effective) at doing the things a Wizard does.