Given the question: Given the following passage  "Therefore, according to Mahayana Buddhism, the arahant has attained only nirvana, thus still being subject to delusion, while the bodhisattva not only achieves nirvana but full liberation from delusion as well. He thus attains bodhi and becomes a buddha. In Theravada Buddhism, bodhi and nirvana carry the same meaning as in the early texts, that of being freed from greed, hate and delusion.",  answer the following question. Note that the answer is present within the text.  Question: what can you be free of by obtaining nirvana?
The answer is:
delusion