“For John the Baptist has come eating no bread and drinking no wine, and you say, ‘He has a demon.’ The Son of Man has come eating and drinking, and you say, ‘Look at him! A glutton and a drunkard, a friend of tax collectors and sinners!’ Yet wisdom is justified by all her children.” (Luke 7:33-35, ESV).
John the Baptist sent some of his disciples to Jesus to find out if He was the Messiah. When they asked if He was the Messiah, Jesus did not answer them explicitly. Rather, He sent them back to John with this message: “Go and tell John what you have seen and heard: the blind receive their sight, the lame walk, lepers are cleansed, and the deaf hear, the dead are raised up, the poor have good news preached to them. And blessed is the one who is not offended by me” (Luke 7:22-23, ESV).
But Jesus explicitly identified John as the one whom the prophet Malachi described as the messenger who would prepare the way when the day of the Lord comes. Although this explanation of John’s ministry satisfied many of the people in the crowd of people following Jesus who were also John’s disciples, the Pharisees and scribes rejected His testimony about John because they didn’t believe John the Baptist was sent by God.
Then Jesus points out that God’s purpose is accomplished in multiple ways: John’s abstemious method and Jesus’ intemperate style.
Jesus and John didn’t try to justify their own behavior. They didn’t behave a certain way because it’s the “right” way.