That is a fact!
"Biden was a sponsor and in many cases the primary architect of every significant federal bill in the ‘80s and ‘90s that exacerbated and continued mass incarceration," said Ed Chung of the progressive think tank Center for American Progress. He cited the Comprehensive Crime Control Act of 1984, as well as anti-drug abuse acts of 1986 and 1988 as examples.
Biden co-sponsored that 1984 bill which, among many other changes, imposed mandatory minimum sentences. The U.S. Sentencing Commission reported in 2001 that "whites are more likely than non-whites to be sentenced below the applicable mandatory minimum."
Biden also co-sponsored 1986 legislation that treated crack cocaine, which was ravaging black communities, far more harshly than powdered cocaine, which was more common among white drug users. Selling 5 grams of crack triggered the same penalty as 500 grams of cocaine powder. The Sentencing Commission reported that "blacks accounted for 88.3% of federal crack cocaine distribution convictions in 1993."
https://www.nytimes.com/2019/06/25/us/joe-biden-crime-laws.html
https://www.washingtonpost.com/politics/2021/01/11/biden-mass-incarceration/