So he promised to give her whatever she asked, and he asked God to punish him if he did not do what he had promised.