It's not necessarily about strength but brick buildings will survive both fire and water much better than wooden buildings, they don't burn or rot. Brick buildings generally last hundreds of years with minimal maintenance (assuming no earthquakes).
Wood buildings can last hundreds of years but require far more upkeep.