The office of prophets was both to bless and to prophesy in the name of the Lord. Balaam, as a prophet, per force had blessed Israel; here he foretells future events.