Matthew 8:5-10 (NLT)
5 When Jesus returned to Capernaum, a Roman officer came and pleaded with him, 6 “Lord, my young servant lies in bed, paralyzed and in terrible pain.”
7 Jesus said, “I will come and heal him.”
8 But the officer said, “Lord, I am not worthy to have you come into my home. Just say the word from where you are, and my servant will be healed. 9 I know this because I am under the authority of my superior officers, and I have authority over my soldiers. I only need to say, ‘Go,’ and they go, or ‘Come,’ and they come. And if I say to my slaves, ‘Do this,’ they do it.”
10 When Jesus heard this, he was amazed. Turning to those who were following him, he said, “I tell you the truth, I haven’t seen faith like this in all Israel!
If Jesus is God and therefore omniscient, how could He possibly be surprised by the Roman officer's words?