Baptism was for outsiders, for those who were not Jews. From time to time Gentiles believed in the one true God of the Israelites and wanted to become Jews. They were publicly baptized, turning away from their heritage and worship of other gods and turning to God. This was repentance in the sense that it was a complete turn around in a person