The noun "curse" can be translated as a verb. It can also be made explicit what would cause them to be cursed. Alternate translation: "asked God to curse them if they did not do what they promised" (See: [[rc://en/ta/man/translate/figs-abstractnouns]] and [[rc://en/ta/man/translate/figs-explicit]])