There is a school of thinking amongst historians and anthropologists, which believes that brewing is at the very commencement of civilisation.
Beer is known to have been produced at our earliest times.
Meat, fish and other naturally occuring foods were in plentiful supply. However, these early brewers needed reliable grain supplies and this could be a reason for early agriculture. So, while waiting for the grain to harvest they established settlements that grew into our ancient cities. He certainly needed one as he sacrificed 30,000 gallons of his brew to the Gods each year.