At first, Malcolm X's actions and speeches were mostly inspired by the beliefs and teachings of the Nation of Islam. He taught that all white people were bad. Once he learned that the leader of the Nation of Islam was in relationships with many women, he quit the group and changed his religion to Sunni Islam. He went on a pilgrimage to see the Islamic holy city of Mecca in Saudi Arabia. At this point, his opinions of white people got better, and he began to believe that white people could be good people, too. Malcolm X believed that black people should fight for their civil rights in any way they could, even if they had to become violent. He also thought that black people should support one another by shopping in stores owned by black people. He was critical of the civil rights movement.