The two sons of Eli were Hophni and Phinehas, as recorded in the Old Testament book of 1 Samuel. Eli was a priest and judge in Israel, and his two sons also served as priests. However, they were notorious for their corrupt behavior and disrespect towards God. They would take portions of the offerings brought to the temple for themselves, and even engage in immoral acts with women who served at the entrance to the tent of meeting.
Their behavior was so grievous that God pronounced judgment on their family. Hophni and Phinehas were both killed in battle against the Philistines, and Eli himself died upon hearing the news. Thus, the story of Hophni and Phinehas serves as a warning against the dangers of corrupt behavior and disobedience towards God's commands.