In Journey to the West, Sun Wukong initially learned Taoist magic but later decided to go and get Buddhist scriptures because Buddhism's influence in the novel was growing while Taoism was gradually declining. Sun Wukong hoped to spread the Buddhist teachings so that more people could understand and accept it, so he decided to go and get the Buddhist scriptures. In addition, Sun Wukong also experienced many setbacks and tribulations in the novel. These experiences made him more determined in his beliefs and made him more aware of the importance of Buddhism. Therefore, obtaining Buddhist scriptures was also an important mission of Sun Wukong in the novel. He hoped that through this mission, more people would understand Buddhism and accept it.