John 19:28

After this, knowing that everything had now been accomplished, and to fulfill the Scripture, Jesus said, “I am thirsty.”

Note See Psalms 22:15.

BSB · Berean Standard Bible
After this, Jesus knowing that all things were now accomplished, that the scripture might be fulfilled, saith, I thirst.
KJV · King James Version
After this, Jesus, seeing that all things were now finished, that the Scripture might be fulfilled, said, “I am thirsty!”

Note NU, TR read “knowing” instead of “seeing”

WEB · World English Bible
After this Jesus, knowing that all things are now finished, that the scripture might be accomplished, saith, I thirst.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Jesus
John 19:30; John 13:1; John 18:4; Luke 9:31; Luke 12:50; Luke 18:31; Luke 22:37; Acts 13:29
that the
Psalm 22:15; Psalm 69:21