The US and UK have let xenophobia bring them to the brink