No as that is the way it was explain to me by many blacks. Not this exact situation but many like it.
You're looking at a massive group of people made up of many communities as a monolith, classic racism. You've also assumed that this monolith will always circle the wagons, no matter the circumstance, also racist.
I'm not accusing you of being racist. I'm saying that your comment on its face is racist, no matter who your friends are or how many black people you've spoken to.