a) His ability to create called for Him to create.
b) The order of creation is one based on aim and wisdom.
c) The ultimate goal and aim of creating all things, is the emergence of man; the reason being that everything has been created for his purpose and he is the most noble of all creatures, as his creator is the most noble of all creators.
d) Since God (swt) is the Transcendent and All-Sufficient, being of no need to anything or anyone whatsoever, the purpose of creation, regardless of what it is, is surely only to the benefit of man himself.
e) The main purpose of creating man, is for him to reach the climax of perfection, true prosperity and salvation, and to find way to the realm of Malakut; all of which can only be accomplished through acquaintance, knowledge, servitude and worship that comes from awareness towards the Lord.
It has been proven that each and every one of Allah’s (swt) names and qualities, both the ones that are one with His essence (as a result of the “simplicity” of his existence), such as His knowledge, power, eternity, ownership and authority, and the ones that have to do with what He does (such as lordship, creatorship, mercy and will) which are also known as His “qualities of action”, are all qualities that He possesses through which He is continuously bestowing His grace and mercy. One of those qualities, which is the quality of creatorship, calls for Him to continuously create, for “Every day He is engaged in some work.” 
Another matter that must be paid attention to is that Allah (swt) is the All-Wise and none of His actions are pointless, therefore it can be concluded that the order of creation has no defects and is one with aims and goals; aims that are in line with high divine goals.
According to the Quran, the creator of all creatures didn’t create them in falseness and neither as a means of play and entertainment, but His creation was on the basis of truth and even the smallest particles in this world are following an important goal and none of them are idle and pointless.
Of course, it must be noted that the main and ultimate goal for all of creation, was the creation of man and to be frank, Allah (swt) created everything in order to create man, and that is the meaning of being the most noble of all creatures. The same goes with man’s creator; He is the most noble of all creators, because there is no one like Him in the entire universe. In a “qudsi” hadith it has been stated: “Oh son of Adam, I have created everything for you and created you for myself.” 
Having mentioned these few introductory points, we will begin the main discussion:
No matter what the purpose of creation is, one thing is for sure, and that is that it is solely to the benefit of man himself, not to the benefit of Allah (swt), for he is the All-Sufficient and Transcendent and it is man and all other creatures who are in true need of Him.
“O mankind! You are the ones who stand in need of Allah, and Allah He is the All-sufficient, the All-laudable” 
“And Moses said, “If you should disbelieve, you and whoever is on the earth entirely – indeed, Allah is Free of need and Praiseworthy.” 
In his famous sermon of Hamam, Imam Ali (as) says:
“Allah the Immaculate was in no need of the obedience and servitude of His servants when creating them and was immune to their disobedience, because the sinning of sinners does Him no harm and the obedience of the obedient does Him no good or benefit  (and the true reason for why He has ordered everyone to obey Him and forbidden them from disobedience, is their own benefit).
Concerning the goal behind man’s creation, various statements can be found in the Quran, each pointing to one of the dimensions of this goal; verses such as:
“I did not create the jinn and the humans except that they may worship Me” ,
“He, who created death and life that He may test you [to see] which of you is best in his/her actions”  (a test mixed with growth and training, resulting in man’s development and perfection),
“Had your Lord wished, He would have made mankind one community; but they continue to differ, except those on whom your Lord has mercy and that is why He created them” .
As you can see, the common word that can be found in all of these statements and others is the growth, development and perfection of man. Therefore one can conclude that the main purpose and final goal for the creation of man, is for him to reach the peak of perfection and salvation and to obtain the highest human qualities, which all depend on his knowledge, servitude and worship of Allah (swt) mixed with his insight on Allah’s (swt) high rank and that it is He who is the only one who deserves to be worshipped, for “Ubudiyyah (the servitude/worship of Allah (swt)) is a valuable gem whose inside is rububiyyah (lordship).” , and whosoever possesses this rububiyyah, will have dominion over all things other than Allah (swt).
In a hadith by Imam Sadiq (as) we read that: “Imam Husein (as) approached his companions and said:
“Allah (swt) the immaculate didn’t create His servants except for them to know Him, when they know Him, they worship Him, and when they worship Him, they become free of worshipping anyone other than Him.” 
 يابن آدم خلقت الاشياء لأجلک و خلقتک لأجلي
Al-Manhajul-Qawi, vol.5, p.516; Ilmul-Yaqin, vol.1, p.381.
 اما بعد، فإن الله سبحانه و تعالي خلق الخلق حين خلقهم غنياً عن طاعتهم، آمناً من معصيتهم، لأنه لاتضره معصية من عصاه ، و لاتنفعه طاعة من أطاعه
Nahjul-Balaghah, Sermon of Hamam.
 العبودية جوهرة کنهها الربوبية
Misbahul-Shari’ah fi Haqiqatil-Ubudiyyah.
 ان الله عزوجل ما خلق العباد الا ليعرفوه، فإذا عرفوه عبدوه، فإذا عبدوه استغنوا بعبادته عن عبادة من سواه
Ilalul-Sharaye’, quoted by Al-Mizan, vol.18, p.423.