During his journey, Gautam Buddha learned that life is full of hardships and is an impermanent phase. He gave up his princely life and spent seven years studying the doctrines and practising yogic penances. He came to the realisation that too much of anything is not good, and the middle way is the right way for any attainment. He succeeded in acquiring knowledge by following a regular diet and maintaining a balance in his practices.