Algorithms written by humans, using historical data will be racist. It’s inevitable. We see example after example. The housing market/mortgage companies are no different.

“Nationally, loan applicants of color were 40%–80% more likely to be denied than their White counterparts”

https://themarkup.org/denied/2021/08/25/the-secret-bias-hidden-in-mortgage-approval-algorithms