The seventh section of the Book of Numbers describes the plot of Balak, king of Moab and his hired sorcerer Balaam to curse the Jewish people in order to prevent them from attacking Moab. G‑d frustrates their plan and forces Balaam to bless the Jewish people instead.