There were seven brothers. The first brother married but died. He had no children.
“Teacher, Moses wrote that if a married man dies and had no children, his brother must marry the woman. Then they will have children for the dead brother.
So the second brother married the woman. But he also died and had no children. The same thing happened with the third brother.