To answer this question, first it is necessary to pay attention to 11 reasons for the importance of acquainting oneself with Imam Mahdi
The first reason: the reason of Man’s Creation
:Imam Hussein told his companions
O people, Allah has not created humans except to know him. When they recognized him, they worship him. When they worship him, for the blessing of this prayer, they do not need to worship entities than God
A man asked: What’s the recognition of God
:the Imam said
That is, people of any age should know the Imam whom they should obey the commands of his
Bihar al-Anwar, vol. 23, p. 83
The result: Knowing God = Getting to know the Imam of each era