Most likely, I am not sure, not a priest, nothing special but I think he did it to see who truly loves Him and gave us the free will to choose to be good and love Him, or not; worldly pleasures are temporary but the ones in Heaven last forever, He w…