This can be proven by applying PCA to the human genome. If races were a product of biology, you would expect to see clusters approximately corresponding to them. But as can be seen from [1], and especially from [2], no such clusters exist.
[1] https://commons.wikimedia.org/wiki/Category:Principal_compon...
[2] https://commons.wikimedia.org/wiki/File:Individual-level_hum...