Allah, The Glorious Has created us to bestow on us His Mercy. He never needs anything and did not create the creatures for any need by Him but He created us and all the creatures to shower on us His Mercy. We read in Quran (Except those on whom your Lord has bestowed His Mercy, and for that (Mercy) He created them). Sura 11, verse 119.
The most valuable thing for us and for every human being is our life. That is why people sacrifice everything they have for the sake of saving their life. This life is a gift from Allah out of His Mercy on us.