When I was growing up I remember the pride our educational system tried to instill in us and it seems so fake in retrospect. It's impossible to be proud of a nation that is only a land of opportunity for those who are white and middle class. Its not that I'm not proud to be an American so much as I don't consider myself one I'm just a person who happens to reside here because I don't have better options.
Racism is a deeply held in/out-group identifier in humans. Western education tries to confront that and fails in many ways but really you should appreciate your education in a broader context. This isn't just an appeal to whataboutism because the US is actively trying to promote multiculturalism in a way that just doesn't happen in many other countries.