John 7:8-10: [Jesus said:] You go to the festival. I am not going up to this festival, because my time has not yet fully come. After he had said this, he stayed in Galilee. However, after his brothers had left for the festival, he went also, not publicly, but in secret.
If, and it's a huge if....Jesus lied....then He's not able to be our sacrifice as the lie would make Him a sinner. Your pastor is in error on his understanding of the passage.
I guess that’s the whole point of this thread. Is lying always wrong? If it isn’t wrong sometimes, then it is not a sin.