Is it spelled pedagoge or pedagogue?

It's spelled pedagogue.

p - e - d - a - g - o - g - u - e

and not pedagoge.