When the soldiers had crucified Jesus, they divided his clothes among the four of them. They also took his robe, but it was seamless, woven in one piece from top to bottom. So they said, “Rather than tearing it apart, let’s throw dice cast lots for it.”
This fulfilled the Scripture that says, “They divided my garments among themselves and threw dice for my clothing.” Ps 22:18. So that is what they did.