The donkey saw the angel of the Lord and tried to get past. It pushed up against the wall and crushed Balaam's foot against it. So he beat it again.