There is no record of Jesus getting sick on earth. Perhaps He had childhood colds, the occasional stomach ache, or the flu. We don’t know; the Bible doesn’t say.
The only time Scripture records Jesus being sick is after He returned to heaven. It is found in Revelation 3.
Revelation 3:16 pictures a church trying to straddle the fence between the world and the kingdom of God. They were like the little boy who prayed one night before he went to bed, “Dear God, make me good but not too good, just good enough so I don’t get in trouble.”
The condition of the Laodiceans was nauseating to Christ. Jesus said, “I know your works, that you are neither cold nor hot. I could wish you were cold or hot. So then, because you are lukewarm, and neither cold nor hot, I will vomit you out of My mouth” (Revelation 3:15–16).
They were a little too cold to be hot and a little too hot to be cold.
They were a little too bad to be good and a little too good to be bad.
They neither loved God fervently nor hated Him zealously.
“[Jesus] gave Himself for us, that He might redeem us from every lawless deed and purify for Himself His own special people, zealous for good works.” Titus 2:14