Mark 1:5

5 The whole Judean countryside and all the people of Jerusalem went out to him. Confessing their sins, they were baptized by him in the Jordan River.

Mark 1:5 in Other Translations

KJV
5 And there went out unto him all the land of Judaea, and they of Jerusalem, and were all baptized of him in the river of Jordan, confessing their sins.
ESV
5 And all the country of Judea and all Jerusalem were going out to him and were being baptized by him in the river Jordan, confessing their sins.
NLT
5 All of Judea, including all the people of Jerusalem, went out to see and hear John. And when they confessed their sins, he baptized them in the Jordan River.
MSG
5 People thronged to him from Judea and Jerusalem and, as they confessed their sins, were baptized by him in the Jordan River into a changed life.
CSB
5 The whole Judean countryside and all the people of Jerusalem were flocking to him, and they were baptized by him in the Jordan River as they confessed their sins.

Mark 1:5 Meaning and Commentary

Mark 1:5

And there went out unto him all the land of Judea
The people of the land, a great number of them:

and they of Jerusalem;
the inhabitants of Jerusalem, hearing of this new preacher, the new doctrine that he taught, and the new ordinance that he administered:

and were all baptized of him in the river Jordan, confessing their
sins;
that is, as many of them as were brought to a sight and sense of their sins, and made a confession of them, these he baptized, or immersed, in the river Jordan; for certain it is, that there were many of the Pharisees and Sadducees who came, whom he rejected; (See Gill on Matthew 3:5), (See Gill on Matthew 3:6), (See Gill on Matthew 3:7).

Mark 1:5 In-Context

3 “a voice of one calling in the wilderness, ‘Prepare the way for the Lord, make straight paths for him.’ ”
4 And so John the Baptist appeared in the wilderness, preaching a baptism of repentance for the forgiveness of sins.
5 The whole Judean countryside and all the people of Jerusalem went out to him. Confessing their sins, they were baptized by him in the Jordan River.
6 John wore clothing made of camel’s hair, with a leather belt around his waist, and he ate locusts and wild honey.
7 And this was his message: “After me comes the one more powerful than I, the straps of whose sandals I am not worthy to stoop down and untie.
Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.