Hannah expected the child to be male .
Hannah vowed to dedicate him to isolation and service in the Temple .
Expecting the child to be male , Hannah vowed to dedicate him to isolation and service in the Temple .