I don't like hearing people say this in a self-referential way because you're not.
Yes, It may be true that you did something less than intelligent, or made a few mistakes, or even failed once or twice.
Those things do not and never will make you a stupid person.
The truth is I know you're a wonderfully intelligent person and the whole world knows it, so please don't call yourself stupid.
Even as a joke.