I think that's one of the many lies you're sold growing up in America. On practice, flag wavers are way now likely to be racists. Church goers are more likely to be racist, less likely to give to charity and more likely to mistreat staff when they're out and about.
Patriotism and religion are both cloths people wrap around themselves to convince themselves they're good people, so that they don't have to actually be good people