He eventually memorized the whole Qur'an at 10. A precocious child, during these years, he began collecting different types of books, including Sherlock Holmes stories, A Thousand and One Nights, and texts on astrology and magic that he would use to help local people with exorcisms ("ruqya".) In his teens, Qutb was critical of the religious institutions with which he came into contact, holding in contempt the way in which those institutions were used to form public opinion and thoughts. He had a special disdain, however, for schools that specialized in religious studies only, and sought to demonstrate that local schools that held regular academic classes as well as classes in religion were more beneficial to their pupils than religious schools with lopsided curricula. At this time, Qutb developed his bent against the imams and their traditional approach to education. This confrontation would persist throughout his life. Qutb moved to Cairo, where between 1929 and 1933 he received an education based on the British style of schooling before starting his career as a teacher in the Ministry of Public Instruction. During his early career, Qutb devoted himself to literature as an author and critic, writing such novels as "Ashwak" ("Thorns") and even helped to elevate Egyptian novelist Naguib Mahfouz from obscurity. He wrote his very first article in the literary magazine "al-Balagh" in 1922, and his first book, "Muhimmat al-Sha’ir fi al-Haya wa Shi’r al-Jil al-Hadir" (The Mission of the Poet in Life and the Poetry of the Present Generation), in 1932, when he was 25, in his last year at Dar al-Ulum. As a literary critic, he was particularly influenced by ‘Abd al-Qahir al-Jurjani (d. 1078), "in his view one of the few mediaeval philologists to have concentrated on meaning and aesthetic value at the expense of form and rhetoric." In 1939, he became a functionary in Egypt's Ministry of Education ("wizarat al-ma'arif"). In the early 1940s, he encountered the work of Nobel Prize-winner French eugenicist Alexis Carrel, who would have a seminal and lasting influence on his criticism of Western civilization, as "instead of liberating man, as the post-Enlightenment narrative claimed, he believed that Western modernity enmeshed people in spiritually numbing networks of control and discipline, and that rather than building caring communities, it cultivated attitudes of selfish individualism.