Plenty of African countries have democratic socialism. https://en.m.wikipedia.org/wiki/African_socialism - the problem you’ve identified is one of globalisation and being a minority group member in a society in which is predominately constituted of another race. Racism is a form of ‘othering’ and skin colour has for almost all of human history been the easiest method to identify the ‘other’. That’ll take some time to undo but I’m hopeful for future generations who hold different views from their parents and grandparents. The internet and social media is a double edged sword in that way.