WEB
When all the people and the tax collectors heard this, they declared God to be just, having been baptized with John’s baptism.
YLT
And all the people having heard, and the tax-gatherers, declared God righteous, having been baptized with the baptism of John,