Disclaimer: I am a true muslim, but asking to get the right answer.
So, if we accept that Allah has created us to worship him, it doesn’t seem too convincing from a high level. Let’s say Allah gave us free will and that’s why he wants to see who worships him, and who doesn’t. But if that’s the case, why did he need it at all?
If the answer to this is that he wanted to “test” us, it brings everyone back to square one. If “testing” us was the case, why not just test if we act good to each other? Why also imply the rule of worshipping him?
Initially Allah created angels, then other beings (i might be unaware) and finally us. If he wasn’t fulfilled with the other beings’ worship, did this spark his interest to create humans? If that’s so, doesn’t that mean that Allah is provoked by a motive, which he, by definition, shouldn’t be?
Some people tend to give the example of a teacher and his students, where the teacher would test his students to see who is doing better. But this us a very vague comparison given that the “Job” of a teacher is to test. The society expects a teacher to test and created/filter the best students. But Allah has no such surrounding to provoke him this way. Then why…?
So if anyone could answer this in the most logical way, it would be highly appreciated.