The motive was the public rendering of
thanksgiving / praise to God by the person commissioning the ritual in the presence of relatives and friends for God's signal intervention in saving the man (and his family, if the
occasion called forit) from death in war or in some similar grave danger
such as famine.