As not uncommon with Nietszche quotes, many attributed to him are the words from Zarathustra, a character from his philosophical fiction with fitting title Thus Spoke Zarathustra. A positive message of course, but not one of the many he was trying to convey, more part of a dialog and thought excercise. It’s like: “Luke, I am your father” - George Lucas. Which is a good analogy because that’s not verbatim what Darth Vader, the character to whom that quote should be attributed to, said either. Humata, Hukhta, Huvarshta, meaning good thoughts, good words, and good deeds, are the basic principles of Zoroastrianism but similar quotes exist in islam too.
That’s ok, Nietzsche last words supposedly were “Mom, I am dumb!”