God dealt with the owners of the elephant army who intended to destroy the Ka'bah by making their plot fail. He sent flocks of birds against them carrying stones made of baked clay to strike them with. God made the elephant army like empty fields with eaten stalks, defeating their plan.