For the uninitiated, the incompetent but well-intentioned boss character from the show, Michael Scott [played by actor Steve Carell], once posted an inspirational quote on a conference room board for his fictional workers.
Scott attributed the quote to Gretzky but then quoted himself as having said that Gretzky said it, so it wasn't necessarily a Gretzky quote as much as a quote Scott was saying Gretzky said. It was a very Michael Scott thing to do in the world of the show.
Despite the series finishing in 2013, "The Office" has lived on via various streaming services and, of course, the memes it has spawned, including the Gretzky one.
Gretzky actually signed the poster board under where Scott wrote his own name in attribution, so now it reads as a Gretzky attributed quote said by Scott and signed by Gretzky.
Got all that?