In my campaigns I actuall often experience ai stupidity in the opposite manner, take my ptolemy campaing for example. The mighty carthaginians who were at least twice as powerful as i was decided to attack me and take one of my cities. I retaliate and attack the city which was taken than i decided to get my diplomat to ask them to be my protecterate and they did, making me very rich and draining them of all income.