Shortly before the murder, a brief traditional wedding ceremony is held so that the dead sons have company in their afterlife.
So that the dead sons have company in their afterlife. This was what a brief traditional wedding ceremony is held shortly before the murder.