Thunder point guard Chris Paul wrote a dedication message to Spike Lee on his sneakers — which read “Do the Right Thing.’’

Paul, who scored 21 points with 12 assists, three steals, three rebounds and one turnover, wished the boycotting Knicks superfan had been at the Garden for the Thunder’s 126-103 rout Friday. Paul had as many 3-pointers (4) as the Knicks did as a team.

Paul hadn’t played the Garden since the 2016-17 season, when he was with the Clippers. Paul missed playing at the Garden the past two years while with the Rockets because of injuries.

“My man Spike,’’ Paul said. “I’ve known Spike for a while. I had spoken to him a couple of days ago and looked forward to him being at the game to watch me play because I hadn’t played the last two years. In 15 years, I might have played eight times. I’ve missed a lot of games [at the Garden].’’

Lee is in the midst of a feud with owner James Dolan over which entrance he’s allowed to use to come into the Garden.

With rumors swirling his agent-turned-Knicks president Leon Rose will make a play for him this summer in a trade, Paul made the most of his time on the Garden court. He got a solid ovation in pregame warm-ups and got more cheers with every no-look bounce pass he delivered against the overmatched Knicks.

Told he’s usually booed in opposing arenas, Paul said: “It’s strange — you expect it to hear it in the Garden. Here in New York, you have some of the best basketball fans there are. One thing about it is they always root for the Knicks, but if you play hard and the right way, they always respect that.”