God Himself is not a prophet?
And in a sense, it is a prophet relating this to us, given that Moses is the titular author of Exodus.
But that doesn’t contradict what you’re pointing out; it actually agrees.
We are talking about judging human prophets. If you want to include God and debate whether he can give false words then all I can say is "Good luck with that...