As the bible says, we first hear the message of God, secondly we see (an open mind) thirdly we act (putting the word of God into practice – repentance of sins) and we then ask for His Holy Spirit which carries the truth which leads us to salvation. Now that our mind is open to Christ’s teaching, we live a life that pleases God. So we shun evil and embrace goodness.
God made it easy for us; Jesus said, His yoke is easy… and that means Jesus’ ways are easy, they give us peace and joy, but Satan’s ways are harder and makes our lives harder to eventual misery. We have all done something wrong at some point and have apologised to someone. But a Christian way is to humble yourself, seek forgiveness from God, and say, I’m sorry God, from now on I’m going to change my ways and do it your way. (Obedience) Just like a prodigal son.
Just like a parent to a child. When a child does something wrong, a good child would confess to a parent. I’m sorry I lied, and then a parent would explain to the child with a warning not do that again or you’ll get a discipline. Or when a child does something wrong, a parent would tell a child to go and apologise to the one they’ve wronged (confession). The same applies with God and his children, in the end we ask Him for forgiveness. God wants us to act in humility and love.