We ask philosophers the purpose of life when Allāh ﷻ quite clearly tells us. The purpose is to look for real knowledge. Our job, from the time we are born until we die, is to be students and to learn about our Lord and to love Him ﷻ. All other knowledge is useless.