Soldiers also asked him, saying, "What about us? What must we do?" He said to them, "Extort from no one by violence, neither accuse anyone wrongfully. Be content with your wages."
And as we find his responses to the questions, we find that John was preaching a social gospel.