# God's anger was kindled

"God became very angry" 

# as someone hostile to Balaam

"as an enemy to Balaam" or "in order to stop Balaam"