The Father's justice demands that only a few be saved. If He saves all, there is no justice because we are all condemned already and sin would have to be allowed in heaven which means that He would no longer be sovereign. If He condemns all, He would be merciless. To show His mercy, He saves a few by baptizing them in His name by bestowing on them the state of being of repentance for their sins so that the sinner turns to Him for forgiveness.The Father in turn uses different means to bring him the knowledge of forgiveness of sins through Christ. Christ then baptizes the repentant sinner in His name by bestowing on him the faith needed to believe in His work on the cross for the forgiveness of his sins and in the name of the Holy Spirit when the cleansed but still sinful sinner gets perfected. He gets filled with the Spiritual essence of the Father and the Son ( the Holy Spirit) who fill his heart with the divine love necessary to obey the Spirit of the Law given by Christ which is to love God first and everyone else as he loves himself. You will not sin when all your thoughts and actions are motivated by Love for God and people. It is a state of being that cannot be self-induced. THe Father grants repentance, the Son erases, and the Holy Spirit perfects. Salvation is a state of being, not just a mental thing. God expects perfection which we cannot achieve on our own. Thank you Father, Son, and Holy Spirit for making it happen. All three are involved in our salvation. That is how you get baptized in the name of the Father, and of the Son, and of the Holy Spirit.