DONGGUAN, China — The US came to China looking to again be the best in the world.
It will go home with the worst tournament showing in program history.
Such is the reality for the Americans now, assured of finishing no better than seventh at the World Cup after falling to Serbia, 94-89, in a consolation game Thursday night. The previous worst finish for a US men’s team in major tournament appearances was sixth at the 2002 world championships.
‘‘We've committed to this from Day One,’’ US guard Joe Harris said. ‘‘To get all the way to this point and just kind of have it abruptly come up short, it really stings.’’
The Americans — the top-ranked team in the world — will be seventh or eighth in China, depending on the outcome of their consolation finale against Poland on Saturday. Harrison Barnes scored 22 for the US, which got 18 from Kemba Walker and 16 from Khris Middleton. And even though this team earned the US a berth into the 2020 Tokyo Olympics field, Barnes noted postgame that Saturday’s finale may be the last time many members of the World Cup squad get the chance to play for their country.
‘‘We’re also the ones who stepped up to the plate when others stepped down. We qualified our nation for the Olympics,’’ US center Myles Turner wrote as part of a thread on Twitter after the game.
Bogdan Bogdanovic scored 28 for Serbia, which bolted to a 25-point lead and handed the US its second loss in two days. Vladimir Lucic scored 15 for Serbia, which will play for fifth place Saturday.
‘‘It’s a really tough game to play against those guys,’’ Bogdanovic said. ‘‘I'm sure both teams were really upset after losing in the quarterfinals and we were just trying to make people happy.’’
A Serbia-US game was widely expected to be one for gold this weekend. The prospects of that were hyped plenty going into the tournament — especially after Serbia coach Sasha Djordjevic called out the Americans in a television interview by saying ‘‘if we meet, may God help them.’’ But all that was on the line Thursday night were bragging rights and a few world ranking points.
‘‘There’s no regrets from our group in terms of what we've given, what we've sacrificed, the commitment everyone’s made to be away from their families, away from their teams, away from their organizations,’’ Barnes said. ‘‘There’s no regrets.’’
Serbia led, 44-40, at the half, a margin that may suggest the first 20 minutes were of the back-and-forth variety.
They were not. Instead, it was just two really big runs, one by each team.
Serbia won the first quarter, 32-7. The US won the second quarter, 33-12. Serbia shot 64% in the first quarter and the U.S. shot 19%; in the second quarter, it was the Americans shooting 72%, Serbia 31%, and it stayed relatively tight the rest of the way.
US coach Gregg Popovich lauded his team for making the comeback, basically 24 hours after seeing its medal hopes dashed by the quarterfinal loss to France.
‘‘I can’t tell you how much I've been impressed the whole time with their character, their stick-to-itiveness and their persistence as they’re learning how to play together,’’ Popovich said. ‘‘Tonight was a great example of that.’’
USA Basketball managing director Jerry Colangelo said that when the time comes to start assembling the 2020 Tokyo Olympics roster, he won’t forget those who backed out of commitments to play in the World Cup this summer.
Of the 35 players originally selected for the US player pool, only four were in China for the World Cup. The US lost to France in the quarterfinals, ending a streak of seven major international tournaments — four Olympics and three World Cups — where the Americans captured a medal, the last five of them being gold.
‘‘I can only say, you can’t help but notice and remember who you thought you were going to war with and who didn’t show up,’’ Colangelo said. ‘‘I'm a firm believer that you deal with the cards you’re dealt. All we could have done, and we did it, is get the commitments from a lot of players. So with that kind of a hand you feel reasonably confident that you’re going to be able to put a very good representative team on the court.
‘‘No one would have anticipated the pull-outs that we had.’’
US: Celtics Jayson Tatum (left ankle) and Marcus Smart (left hand) were out with injuries, and neither is expected to play in the finale Saturday. ... Before now, the last time the US dropped consecutive games at the World Cup level was 2002 at the world championships in Indianapolis, losing to Argentina by seven and Yugoslavia by three. The only time the Americans lost three straight in a World Cup or Olympic-level tournament was at the 1970 world championships.
Serbia: Vasilije Micic, whose mother died during this tournament, stayed with the team instead of going home early. He scored 10 points. ... All-NBA center Nikola Jokic was quiet offensively, scoring nine points on 3 for 4 shooting. He did make two free throws with 20.2 seconds left to put Serbia ahead by six.
The US has been sending teams to major international competitions — the Olympics and the World Cup (formerly the world championship) — since 1936, a span of 36 tournaments in all. This is only the fourth time the Americans won’t medal at either of the two biggest events; they were fifth at the 1970 world championship, fifth at the 1978 world championship and sixth at the 2002 world championship. They've medaled in all 18 Olympic competitions, winning gold 15 times.
CZECH REPUBLIC 94, POLAND 84
Vojtech Hruban scored 24 points, Tomas Satoransky added 22 and the Czech Republic rallied late to beat Poland 94-84 in a consolation game Thursday in Shanghai. Satoransky added 12 assists for the Czechs, who closed the game on a 20-7 run. Adam Waczynski scored 22 for Poland.
US: Faces Poland in seventh-place game at Beijing on Saturday.
Serbia: Faces Czech Republic in fifth-place game at Beijing on Saturday.