in truth, all god did was open the ass's mouth,the ass could see the angel of the lord with his sword, and did not want to die either.
god was angry with the prophet because he was on his way to curse the people of god.
maybe that should say something to us.