This text informs us that Eli’s sons “made themselves vile, and he did not restrain them.” However, in the previous chapter, Eli rebuked his sons for their evil deeds (1 Sam 2:23-24).
1 Samuel 3:1 - 21
ESV - 1 Now the young man Samuel was ministering to the Lord under Eli. And the word of the Lord was rare in those days; there was no frequent vision. 2 At that time Eli, whose eyesight had begun to grow dim so that he could not see, was lying down in his own place.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.