In Islam Allah is all knowing,He knows what will happen in future, He knows everything… My question is If Allah knows everything about my future before creating me that I am going to hell then why He created me? To just burn me in hellfire?
Allah created you and gave you a choice!
You can go to the highest building in town and throw yourself hoping to land on your feet. Allah can make you land on your feet!
Will you give it a try? Of course not because it is your choice not to.
Likewise with Islam. You have to choose to be practicing and righteous and go to paradise. If you don’t, you have only yourself to blame.