This quotation is from Psalm 69:9.
Several passages in the New Testament use Psalm 69 to describe the suffering of Jesus (Matthew 27:34; Mark 15:35–36; Luke 23:36; John 15:25; 19:28–29). By quoting only part of this psalm, Paul reminds people of the full story of the suffering of Jesus, not just one moment.