Why did God give men larger brains than dogs?

Why did God give men larger brains than dogs? So they won't hump women's legs at cocktail parties.