The religion came for the people to introduce them to God, and what He wants from them. The Quran tells that God has created all the human beings to worship Him. verse 51: 56
وَمَا خَلَقْتُ الْجِنَّ وَالْإِنسَ إِلَّا لِيَعْبُدُونِ
I have created the jinn and men only for My worship.
This is the concern of the whole of humanity to know how to worship Him.
He created the world and life for a test to reward the people. Verse 67:2
الَّذِي خَلَقَ الْمَوْتَ وَالْحَيَاةَ لِيَبْلُوَكُمْ أَيُّكُمْ أَحْسَنُ عَمَلًا ۚ وَهُوَ الْعَزِيزُ الْغَفُورُ
[He] Who created death and life to test you as to which of you does better deeds.[2] And He is also Mighty and Forgiving.
God tells that one who purifies Himelsef will be successful in the hereafter. 87: 14
قدْ أَفْلَحَ مَن تَزَكَّىٰ
successful shall be he who spiritually purified [himself]
God tells that it is the prophet who came with the religion to purify the people. 3:164
In reality, God has been very gracious to the believers in sending them a Messenger from amongst themselves who recites out His revelations before them and purifies them, and for this instructs them in the law and in the wisdom. And there is no doubt that before this they were in open error.
It makes the religion everybody’ concern.