Water baptism is one of the four components that make up the Doctrine of Baptisms. It is a testimony of a changed life, an outward expression of an inward reality.
The doctrine of giving something to God to attract His favor is not only unscriptural but has led to many wrong practices in the church. God is self-sufficient. What He expects from mankind He created is obedience to His revealed will.