We spent seven books learning about how Harry is basically just an okay wizard but a really good guy with really amazing friends. He beats an immeasurably more skilled and powerful wizard with a joke of a spell, but the only one he really knows he does well. (So much so that the Death Eaters make a joke about it.)