Why does great scholarship alone not guarantee a portion in the World to Come?
Rambam explains that the people listed in the Mishnah were highly learned, but corruption of the foundations of their faith deprived them of a portion in the World to Come. Their inclusion shows that wisdom and Torah study alone do not guarantee that portion. Bilaam is listed to distinguish him from the righteous among the nations, who do have a portion in the World to Come.
The source brings differing opinions.
Quote from the source«The Mishnah reveals to us that Bilaam was from the רשעי אומות העולם, the reshaim of the goyim, so he doesn't have a portion in Olam HaBa.»
- Author
- Rambam
- Source
- Torah Wellsprings — Torah Wellsprings — Wellsprings - Chukas - Balak 5783 A4, p. 13
- Parsha
- Chukat