I'm not black, but having spent time homeless and not having the best educational path, I know most tech companies that have interviewed me look down on me or consider me unhirable despite using code I wrote.
The experience you describe lines up with what I've heard from friends, I'd recommend reconsidering Amazon though, the company is highly segmented internally and time at a FAANG will likely boost your earning potential down the line. Most of the employees that have been there 3+ years are inert/zombified, working 50-60hrs a week. Their recruiters also BS around, I wouldn't take the interview process personally.
One friend interviewed at Amazon and thought she did terrible, yet they still offered her $80hr. Avoid the corporate kool-aid, cash their paychecks for a year or two, pole vault to an even better position at a slightly less well known company (with a better culture).