Jimmy Butler and Stephen Curry threw their arms around each other and embraced.

Playoff Jimmy in all his brilliance on the big stage took all the pressure off Curry, and now they’re taking the Warriors to the playoffs.

“I know I want to win a championship so he needs, his what, this would be No. 5?” Butler said.

Butler had 38 points, seven rebounds and six assists creating opportunities on both ends at every chance, Curry scored 37, and the Warriors earned the seventh seed in the Western Conference by beating the visiting Grizzlies 121-116 on Tuesday night in the Play-In Tournament.

Curry knocked down a baseline 3-pointer with 1:50 to go and one from the left wing with a minute on the clock then converted four free throws in the closing five seconds.

The Warriors are now headed for a best-of-seven first-round series with the Rockets beginning with Game 1 on Sunday in Houston.

“It took 83 games but we’re right where we want to be ... back in the playoffs and we’ve got a chance,” coach Steve Kerr said.

After a pair of free throws by Curry with 5.4 seconds left, the Grizzlies had one last chance — but Santi Aldama couldn’t inbound the ball before a five-second violation.

Desmond Bane scored 30 points and Ja Morant 22 for the Grizzlies, who will head home to play Friday against the winner of the Mavericks-Kings matchup on Wednesday night to determine the eighth spot.

The Mavs-Kings game ended too late for this edition.

The Warriors had been 0-3 in play-in games during appearances in 2021 and last year.

Young shows frustration: Hawks guard Trae Young threw a hard pass and showed off a little fancy ballhandling. Ordinarily, those are good things.

Doing it against referees was frowned upon, however — and the NBA said he was “making a mockery of the game.”

Young’s frustration with how the Hawks’ play-in game against the Magic was going finally boiled over with 4:47 left Tuesday night in Orlando, when he earned a pair of technical fouls — one for rifling a chest pass at referee James Williams, then the second moments later when he deflected the ball with his foot and then wouldn’t give it up promptly to referee Pat Fraher.

The Hawks were down by 22 at the time and went on to lose 120-95. And postgame, Young said he did what he did to make a statement on behalf of his teammates like Dyson Daniels in a game where the Hawks thought it wasn’t an even whistle.

The Magic, who advanced to the Eastern Conference playoffs as the No. 7 seed and will face the second-seeded Celtics, were whistled for 25 personal fouls to the Hawks’ 18. And the Hawks attempted seven more free throws.

The Hawks will play host to either the Bulls or Heat on Friday to decide the No. 8 seed in the Eastern Conference and who’ll play the top-seeded Cavaliers in Round 1 of the playoffs.

The Bulls and Heat played an elimination game Wednesday night in Chicago, but it ended too late for this edition.