After they heard him tell them to turn away from their sinful behavior, they openly confessed their sins, and as a result they were baptized by John {John baptized them} in the Jordan River.