|In that case, why do we undergo suffering in life? Will it never come to an end?|
It is exactly this that has been called Maya, Ajnana or Avidya! Because of it, we forget our real nature as Atman, identify ourselves with the body, senses and mind, and consequently suffer. How and when we came under the subjection of Maya is a problem that can never be solved.
This mind or intellect, which itself is a product of Maya, can never succeed in resolving this mystery. However, the scriptures assure us that if we discipline ourselves according to their directions under a competent Guru (spiritual teacher), we can transcend this Maya and obtain Moksha (liberation) through the knowledge of the Atman.