The prudent here is the donkey because when she saw danger, she sat down and took refuge. She saw the angel but the simple, the foolish [Balaam] just continued and suffered punishment.
There are those who get trained yet go on becoming simple and foolish, they suffer punishment because of not realising that if one testifies on their own behalf that they are rich and have everything, moral courage and personal integrity is more than riches.