Study Sanhedrin folio 106B with parallel Hebrew-English text, traditional commentary, and modern study tools. Free access to Babylonian Talmud online.
With regard to the latter part of the verse: “And Balaam, son of Beor, the diviner, did the children of Israel slay with the sword among the rest of their slain” (Joshua 13:22), Rav says: It means that they accomplished in him all 4 means of court-imposed executions: Stoning, and burning, beheading
A certain heretic said to R' Ḥanina: Have you heard how old Balaam was when he died? R' Ḥanina said to him: It is not written explicitly in the Torah. But from the fact that it is written: “Bloody and deceitful men shall not live half their days” (Psalms 55:24), this indicates that he was 33 or 34 y
Mar, son of Ravina, said to his son: With regard to all of those enumerated as not having a share in the World-to-Come, do not extensively interpret verses homiletically in order to denigrate them, except with regard to Balaam the wicked, as any negative element that you discover in his regard, con
§ It is written in one verse: “Doeg the Edomite” (I Samuel 22:9), and it is written in another verse: “And the king said to Doyeig” (I Samuel 22:18). R' Yoḥanan says in explaining the discrepancy: Initially, God sat and was concerned [doeg] that perhaps this person would emerge to undertake an evil
The Talmud cites a mnemonic for the statements of R' Yitzḥak that follow: Mighty, wicked, and righteous, riches, and counter.