BAM Adebayo has a theory. All these close games that the Miami Heat are playing now, in his mind, are providing valuable lessons to draw upon later this season.

And the fact that they’re winning a lot of those games right now is an added bonus.

Jimmy Butler had 29 points, Adebayo added 20 and the Heat rallied again in the fourth quarter to beat the Orlando Magic 110-105 on Friday night (Saturday morning, Jan. 28, 2023, PH time). It capped a 3-0 homestand for the Heat, with those wins coming by three, four and five points.

“I don’t know if we just like dogfights,” Adebayo said. “I don’t know if we just like to make it interesting.”

Max Strus scored 17 points, 15 of them on 3-pointers, for Miami — which moved a season-high six games over .500 at 28-22. Caleb Martin scored 13 points, Gabe Vincent had 11 and Tyler Herro had 10 for the Heat.

Paolo Banchero, Franz Wagner and Cole Anthony all had 19 points for the Magic, while Wendell Carter Jr. had 16 and Markelle Fultz added 10. Orlando is 14-10 in its last 24 games, after starting the season 5-20.

Turnovers simply doomed the Magic. They had 20, compared to 11 by Miami — and the Heat turned Orlando’s giveaways into 32 points. Orlando scored 13 off Miami’s turnovers.

“We turned it over,” Magic coach Jamahl Mosley said. “When it comes down to it, you’ve got to take care of the basketball. I loved our fight. I loved the fact that we were in it, in a great environment, on the road, against a tough team. But you’ve got to take care of the basketball.”

Strus’ 3-pointer with 3:01 left in the third put Miami up 73-69. The rest of the quarter was all Orlando. The Magic closed the third on a 10-0 run, then scored the first basket of the fourth to go up 81-73 on a dunk by Moritz Wagner.

And then the momentum swung right back to Miami. The Heat scored 19 of the next 25 points to go up 92-87, setting up yet another down-to-the-wire finish — the theme of this now-completed three-game Miami homestand.

The Heat beat New Orleans by four on Sunday, then Boston by three on Tuesday.

“Anytime we win, it’s a good thing,” Butler said. (AP)