Now Eli was very old, and he heard about everything his sons were doing to all Israel and how they were sleeping with the women who served at the entrance to the Tent of Meeting.
In these verses we have the good character and posture of Elkanah's family, and the bad character and posture of Eli's family. The account of these two is observably interwoven throughout this whole paragraph, as if the historian intended to set the one over against the other, that they might set off one another.
Commenting on 1 Samuel 2:11-26
And he said unto them, why do ye such things?.... As to impose upon the people that bring their offerings, by taking more than is due, and in a very indecent and imperious manner; and especially to defile the women when they came to worship: these were very scandalous sins, and deserved a more severe reprimand, and indeed a greater chastisement than by mere words...
the women that assembled at the door of the tabernacle--This was an institution of holy women of a strictly ascetic order, who had relinquished worldly cares and devoted themselves to the Lord; an institution which continued down to the time of Christ (Luk 2:37). Eli was, on the whole, a good man, but lacking in the moral and religious training of his family.