A better question would be how would a all loving and knowing god let you be sent to hell since he/she/it/they would know your motivations that led you astray, and your quirks of hormone and development which made you who you are.
Interesting short story I read (while in Catholic school) was where only man judged man, god was a all knowing all understanding witness called to give witness but it was men who sent the sinner to hell. God was a total wuss. I can't recall the author but I'm sure someone else here has read it and could offer it. What I also recall was that the teacher was rather miffed that god was portrayed as such a wimp. He liked the idea of a vengeful god I think