The Holy One, blessed be He, said to him: Samuel! Thou hast placed thyself between these two good byways. By thy life! I will give to thee three good gifts. This teaches thee that everyone who doeth righteousness and sheweth the service of love, shall inherit three good gifts, and they are: life, righteousness, and glory, as it is said, "He that followeth after righteousness and love, findeth life, righteousness, and glory" (Prov. 21:21). It is only written here (in the text): "He findeth life, righteousness, and glory."
Samuel the Prophet Caught Between Two Blessings
Pirkei DeRabbi Eliezer 15:2