There is racial discrimination in the NBA. "Using data from 1980–2017, we demonstrate that after accounting for player performance, Black players have 30% higher odds of exiting the league in a given season. We find this disparity is mostly driven by White bench players." User smurfyjenkins, in the Reddit Science subreddit, 11 Mar 2021