Scripture shows us that baptism follows an individual’s decision to put their trust in Jesus alone for salvation (Acts 2:41, 8:12 and 10:47–48).
In the Bible, we find parents bringing their children to Jesus. He held them, prayed for them and told us to welcome them. But He did not baptize them and He did not tell anyone else to baptize them. Baptism is for someone who has made a personal decision to accept Jesus as their savior, once they have the maturity and ability to understand what that means.
Dedication is not a decision that the child is making to put their trust in Jesus. Instead, dedication encourages Christian parents to commit to their children that they will raise them in a God honoring home.