Baptism includes a promise to follow God's commandments for one's entire life. Many of the same people who preach integrity in worldly arenas have seriously neglected this promise they made earlier in life. A popular excuse is that the person was naive back when the promise was made--he or she didn't fully understand what it entailed. Thus, that person should not be held accountable for such promises.
Naivety has never been a viable excuse (those who do not yet understand right and wrong excepted). To understand everything about what God commands would require knowing as much as God knows. When we are baptized or make similar covenants with God, we are promising to follow Him because of our naivety--we are acknowledging that He knows better than we do, that we believe His path is better than any we could choose alone. Such is the essence of faith in God. We must keep those promises we make to God, even when we don't fully understand why. That is what we specifically what we promised to do.