As Malek descended to heaven he realized all had been for not, then he realized he was actually going to heaven, afraid for his soul, which he now knew he had, he developed a cunning plan. He knew from recent news that God might need a lawyer. So he made God a promise that if he was to become his lawyer, God would spare his soul.
After months of wasted prep time Malek failed the heavenly LSAT and went to hell.