That is a necessary but not sufficient condition. You also have to (a) somehow stop the people who like discriminating based on race ("racists"), and (b) do something about the systems that were intentionally setup to discriminate based on race ("systematic racism").
Since you say you're not from the USA, I'll give you some context which is that your talking point is frequently used by people here to argue against addressing (a) and (b). And often it is particularly brought up by people accused of discriminating based on people's race, as though pointing out that someone is being racist is worse than actually being racist.