At first , Malcolm X 's actions and speeches were mostly inspired by the beliefs and teachings of the Nation of Islam . From his adoption of the Nation of Islam in 1952 until he left the organization in 1964 , Malcolm X promoted the Nation 's teachings .