Taqdeer And Freewill
Kindly watch this brief video to get you answer https://youtu.be/VLvPz6nmb4s
His death comes is the knowledge of God, not His order. It happens the way God created the world with its function of cause and effect. God may let it go or may interfere to change the course.