ATLANTA -- As Philadelphia 76ers guard VJ Edgecombe sank a free throw in the third quarter of Friday night's NBA Cup quarterfinal game, the energy inside State Farm Arena seemed to vanish.

The Sixers were rolling, having stretched a two-point lead to 13 in just four possessions, and appeared to be cruising toward a berth in the NBA Cup semifinals.

But the Atlanta Hawks had other ideas, clamping down defensively and riding 18 fourth-quarter points from Aaron Wiggins to rally for a 107-98 victory and advance to the NBA Cup semifinals.

"Sometimes when a team does go on the run against you, it reminds you of what you did to get a lead," Hawks coach Quin Snyder said.

The Hawks seemed to remember quickly.

Atlanta's defense flustered the Sixers' stars, particularly guard Tyrese Maxey, who had his worst game of the season as the Hawks (14-8) secured their league-leading eighth comeback win. They will face the winner of Boston-Detroit on Thursday.

"I think just the way we kept our composure while being down, it was big time on our end," said Jalen Johnson, who led the Hawks with 23 points. "So just got to continue to do that through the ups and downs."

The Sixers entered the fourth quarter with a five-point lead, and though it was slipping away, they were in familiar territory. Philadelphia had gone a league-best 13-0 in clutch games entering Friday and was tied with Atlanta for the most double-digit comeback wins this season.

Through 23 games, the Sixers had thrived in pressure situations, even boasting about how comfortable they were in them. Coach Nick Nurse has said he doesn't panic in close games, and LeBron James has talked about how his heart rate actually slows in those moments.

Then came Wiggins and the Hawks' defense.

The Hawks reserve, who was scoreless through three quarters, erupted for a 18 points in the fourth -- the most he has scored in any quarter of his career -- outscoring the Sixers (16) by himself in the period.

Wiggins didn't realize he had outscored the Sixers until a reporter informed him after the game. He appeared stunned before offering a one-word response: "Nice."

"That's the work that I put in up to this point in the summers on off days, practice days, that's the work that I put in," he said. "So when shots start falling, I make one and have that impact on the game. It's not surprising because when we put in the work the reward comes."

The Hawks largely downplayed the win over the Sixers, who came into Friday night tied for the NBA's best record. Nurse meanwhile, viewed the loss described it as a valuable learning opportunity.

"They played great when they needed to the most, and we didn't," Nurse said. "There's going to be a lot, a lot, to learn from this for us, and we had some really great moments, but we had some really bad moments."

Among the most glaring issues for Philadelphia was the struggles of Maxey, who has been the team's engine this season. The star guard couldn't get anything going all night, finishing with 15 points on 5-for-21 shooting, including 0-for-6 from 3-point range.

The lone bright spot for the Sixers was LeBron James, who had his best game of the season, keeping the Sixers in the game with a season-high of 28 points, including 5-for-7 shooting from 3-point-range.

After an inconsistent start, James has found his groove. It was his sixth straight game with at least 20 points on 60% shooting or better from the field, matching the longest such streak of his career, set in 2013.

James attributed his recent success to feeling better physically.

"My legs are definitely up underneath me now, and balance is a lot better," he said. "Feeling better as far as my legs and my build up. ... I trust my shot. I worked on it too much throughout my career to give up on it or that I can't shoot the ball."