From what I remember I think that was the case many years ago. NBA players were not included in the Olympics but started to be included back in the 90's, after some drawbacks! I think they wanted to secure the gold medal every time.
Traditionally composed of amateur players, a 1989 rule change by FIBA allowed USA Basketball to field teams with professional players. The first such team, known as the "Dream Team", won the gold medal at the 1992 Summer Olympics in Barcelona, being superior in all matches.[3][4][5]
With the introduction of professionals, the team was able to spark a second run of dominance after capturing only a bronze medal in 1988. A team of professional players competed at the 1994 FIBA World Championship, finishing first. In 1996, 2000, 2008, 2012, and 2016 the USA again captured gold medals at the Olympics.
Facing increased competition, the USA failed to win a medal at the 2002 FIBA World Championship, finishing sixth. The 2004 Summer Olympic team lost three games on its way to a bronze medal, a record that represented more losses in a single year than the country's Olympic teams had suffered in all previous Olympiads combined.
Determined to put an end to these failures, USA Basketball initiated a long-term project aimed at creating better, more cohesive teams. The USA won its first seven games at the 2006 FIBA World Championship in Japan before losing against Greece in the semi-finals, ending the competition with the bronze medal. The USA won gold two years later, though, at the 2008 Summer Olympics with a dominant performance. This success was followed up at the 2010 FIBA World Championship, where despite fielding a roster featuring no players from the 2008 Olympic team, the USA did not lose a single game en route to defeating host Turkey for the gold medal. The USA continued this streak of dominance by going undefeated and capturing gold once more at the 2012 Summer Olympics, 2014 FIBA Basketball World Cup, and 2016 Summer Olympics.