Humans as we know them have been around for approximately 200,000 years. There are roughly 30,000 diseases known to modern medicine, of which 3/4 or so are still without a cure (according to google...I'm not going to bring real sources into this because...well...it is Syed).
Syed, are you okay with your God torturing humanity with diseases for 200,000 years so that we have only cured 1/4 of them (and that isn't factoring in mental diseases either...which would make that fraction even smaller).
On the other side, when those same humans go up to a hypothetical heaven, all of the diseases are cured (or can be learned to be cured) without pain and suffering.
That doesn't seem....messed up to you in the slightest?
Would you choose to torture your children if you had the choice to not torture them and pass on the same lesson?