Who is the wisest?

The three men found themselves standing before the pearly gates of Heaven, where St. Peter and the Devil were standing nearby