Dear Rafiqqq,
This question is directly addressed in the Quran.
[51:56]
And I did not create the jinn and mankind except to worship Me.
[51:57]
I do not want from them any provision, nor do I want them to feed Me.
[51:58]
Indeed, it is Allah who is the [continual] Provider, the firm possessor of strength.
God does not need our worship. God is self-sufficient. He has ordained worship on his slaves as a means for their spiritual success. So if God, in creating Mann and Jinn to worship him would imply anything, it is this. That God is merciful [6:12]. You see, God could have created Man and Jinn and tortured them eternally. Instead, God given the chance to his creation to obey and worship him in return for eternal bliss. God is not obliged to do that. But he did it out of his mercy.
God gave a chance for his creation to redeem themselves by worship when he could just have punished them right away. This I believe implies mercy above all else.
Hope this helps, God willing.
Regards,
Ahmed