In Short: He saw it ahead of time Verse: "For dogs have surrounded Me; the congregation of the wicked has enclosed Me. They pierced My hands and My feet; I can count all My bones. They look and stare at Me. They divide My garments among them, and for My clothing they cast lots." Psalm 22:168