The Prophet (Peace Be Upon Him) said, “The first thing created by Allah was the pen, then, He ordered it to write, so it wrote everything that will happen till the Day of Judgment.”
As humans, we began as clay, by our forefather of mankind: Adam. From him the rest of humanity was born. “And indeed We created man (Adam) out of an extract of clay (water and earth)." (Qu'ran The Believers:12)
"Remember when your Lord said to the angels: 'Verily, I am going to place mankind generations after generations on earth.' They said: 'Will You place therein those who will make mischief therein and shed blood, while we glorify You with praises and thanks (exalted be You above all that they associate with You as partners) and sanctify You.' Allah said: 'I know that which you do not know.'
Allah taught Adam all the names of everything, then He showed them to the angels and said: "Tell Me the names of these if you are truthful." They (angels) said: "Glory be to You, we have no knowledge except what You have taught us. Verily, it is You, the All-Knower, the All-Wise."
He said: "O Adam! Inform them of their names," and when he had informed them of their names, He said: "Did I not tell you that I know the unseen in the heavens and the earth, and I know what you reveal and what you have been hiding?"
Remember when We said to the angels: "Prostrate yourself before Adam" They prostrated except Iblis, he refused and was proud and was one of the disbelievers(disobedient to Allah)." We said: "O Adam! Dwell you and your wife in the Paradise and both of you freely with pleasure and delight of things therein as wherever you will but come not near this tree or you both will be of the Zalimeen (wrongdoers)."
Then the Satan made them slip therefrom (the Paradise), and got them out from that in which they were. We said: "Get you down all with enmity between yourselves. On earth will be a dwelling place for you and an enjoyment for a time."
Then Adam received from his Lord Words. His Lord pardoned him (accepted his repentance). Verily He is the One Who forgives (accepts repentance), the most Merciful.
We said: "Get down all of you from this place (the Paradise), then whenever there comes to you Guidance from Me, and whoever follows My Guidance there shall be no fear on them, nor shall they grieve. But those who disbelieve and belie Our Ayah (proofs, evidences, verses, lessons, and signs and revelations, etc) such are the dwellers of the Fire, they shall abide therein forever." (Chapter
2:30-39, Qur'an).
As humans, we are hasty and weak. People boast with their heads held high but little do they remember that they were born in the weakest, softest state, and will leave the weakest, softest state. Devoid of vision, hearing, and intellect, they were brought up to become sound, but will leave the same way they came. "Mankind was created weak." [an-Nisaa', 28]
This world is temporary and we will leave as we came. It's like a stop on a long journey that is just for rest, but we will continue the journey eternally afterwards.
On the authority of Abdullah ibn Umar (May Allah be pleased with them both), he relates that the Prophet (Peace be upon him) once held my shoulders and said:
“Live in this world as (if you are) a wayfarer or a stranger.”
When we die, we will be returned to our graves; then, everything will be wiped out, and Allah will repeat the creation again.
"And He it is Who originates the creation, then will repeat it (after it has been perished), and this is easier for Him. His is the highest description (i.e. none has the right to be worshipped but He, and there is nothing comparable unto Him) in the heavens and in the earth. And He is the All-Mighty, the All-Wise." (Qu'ran 30:27)
We are to return to Allah in the end, and the goal of this world is to achieve success in the next. In order to do that, we must do what we must to survive in this world in order to do good for the next. But we must do minimal to survive and maximum to make the probability of reaching Heaven the greatest possible.
Synergize this life and the next by using this world as a catalyst to reach success in the next. It's all about synergizing yourself in this world and the next.
This world is but temporary amusement, but you must use it to toil hard for the next life.
In the end, you will return to your Lord and creation will repeat itself again.