Just a little clarification might be needed.
We can not get rid of our sins.
We can get rid of the consequences for when we sin.
There is a difference.
In
Acts 2:36-39, Peter was preaching to Jews.
Jews who had been accustomed to needing to go to the Temple to offer animal sacrifices for their sins.
It had been the way of life to them.
Peter was not preaching to gentiles, who did not use the Temple sacrifices for their sins.
Note...
Peter was addressing Israelites.
Not gentiles.
Acts 2:36-39
“Therefore, let all Israel be assured of this: God has made this Jesus, whom you crucified,
both Lord and Messiah.”
When the people heard this, they were cut to the heart and said to Peter and the other apostles,
“Brothers, what shall we do?”
Peter replied, “Repent and be baptized, every one of you, in the name of Jesus Christ for the forgiveness
of your sins. And you will receive the gift of the Holy Spirit. The promise is for you and your children and
for all who are far off—for all whom the Lord our God will call.”
Peter was telling the Jews that they no longer needed to go to the Temple to take care of their sin problem.
That the new way, in Christ, would be the means to find forgiveness for their sins.
It was an introduction to the new spiritual way of life we are to walk in.
Grace and peace ...