Couldn’t Jesus be saying this from the perspective of his human nature rather than his divinity? Or is Jesus regarded as sinless in his humanity as well?
He is sinless in both natures. However, there is a rabbinical turn of phrase being used here. As Pilate questioned Him, asking Him if He was King of the Jews, Jesus answered “You say so” The Pharisee who called Him “good” also said so, and our Lord pointed that out. John the Baptist sent his disciples to ask of Jesus if he was the one. Yet, elsewhere John clearly knew that Jesus
was the one. He sent the disciples on a mission to find for themselves. Yet our Lord, in an act of divine Jewishness, did not answer directly, but fed them with food for thought:
Matthew 11:1-6 "When Jesus had done giving instructions to his twelve disciples, he left the place where he was, to teach and preach in their cities. Now John had heard in his prison of Christ’s doings, and he sent two of his disciples to him; Is it thy coming that was foretold, he asked, or are we yet waiting for some other? Jesus answered them, Go and tell John what your own ears and eyes have witnessed; how the blind see, and the lame walk, how the lepers are made clean, and the deaf hear, how the dead are raised to life, and the poor have the gospel preached to them. Blessed is the man who does not lose confidence in me.