It's simple as I don't believe there's someone who created us , Which in Islam god(Allah) created us so he tests us whatever we will do (Good/Bad) stuff , but also Allah mentioned that he knows everything in this world , So how come he created if he knows our destiny ?
That should convince you.