God told Balaam that he was not to go with the men and that he was not to curse the people of Israel.