At the head of all the things that the Imam will perform, we see in the tradition that there are four major things which he will do which we summarize as being:
1. Correcting the Theological Beliefs:
“There will not remain a single stone house, mud house, nor a tent upon the entire Earth except the word (teachings) of Islam will be in that place (and thus, polytheism will no longer exist).” [Tafsir al-Qurtubi [Imam Abu `Abdullah Muhammad ibn Ahmad ibn Abu Bakr al-Ansari al-Qurtubi], vol. 12, pg. 300]
2. Completion of the Intelligence: The advancement of knowledge and intelligence will also take place (at this time), just as the late 'Allamah Majlisi makes clear by quoting a tradition from the Infallibles in relation to this point:
“When our Qaim makes his advent, he will place his hand over the heads of the servants…” It is possible that this means that people will be under the direction and guidance of the Imam. “…so then (through this act), he will gather together their intelligence and complete their knowledge.” [Bihar al-Anwar, vol. 52, pg. 338]
3. Justice and Equality: In the various traditions, it has been mentioned that:
“He (the Imam) will fill the Earth with justice and equality just as it had been filled with oppression and tyranny.” [Bihar al-Anwar, vol. 14, pg. 33]
4. Correction of the Moral Ethical Traits:
From the traditions which speak about the signs at the end of time, we can deduce that removing all of the corrupt ethical traits and bringing back the moral values of Islam back to life will be the duty of the Imam.
There are also traditions which state that before the advent of Imam al-Qaim (as), many corrupt ethical traits such as: adultery, theft, bribery, selling less that what one paid for, the drinking of alcohol, murdering of countless innocent people and other such sins will be very common.
Thus, the meaning of this tradition is that when Imam al-Mahdi (as) rises up to remove and eradicate all of these things, the entire valued and cherished system of moral ethics would already be completely destroyed and it is Imam al-Mahdi (as) who will restore it.
That person who wishes to be a helper of the Imam must work tirelessly in these four points mentioned and the one who does not possess any of these four points within himself, however prays to Allah (SwT) to make him of the helpers of the Imam (as) will see that his prayers will be far from being answered.
If it was made completely clear for what reasons the Imam would make his advent, then this would definitely change the face of the society.
One who does not possess any of these traits can not expect to stand in the ranks with the Imam. Therefore, it is very good that we actively do something to call the attention of the people towards the goals and objectives of the Imam so that all of us can mound ourselves to becoming better human beings.