Perhaps travel cannot prevent bigotry, but by demonstrating that all peoples cry, laugh, eat, worry, and die, it can introduce the idea that if we try and understand each other, we may even become friends.
Growing up, I never gave a thought to being a writer. All I ever wanted to be was a traveler and explorer. Science-fiction allowed me to go places that were otherwise inaccessible, which is why I started reading it.