Matthew 27:35 in the King James Version
And they crucified him, and parted his garments, casting lots: that it might be fulfilled which was spoken by the prophet, They parted my garments among them, and upon my vesture did they cast lots.
Context
34 they gave him sour wine to drink mixed with gall. When he had tasted it, he would not drink.
35 When they had crucified him, they divided his clothing among them, casting lots,
36 and they sat and watched him there.