Original: Anne promised to dedicate the child to God's service.
Simplified: She promised she would bring the child up in God's name.