God is saying that one of humanity’s purposes is to make use of this earth — all of its vast resources — for producing, researching, discovering, inventing, and advancing. That includes using plants to bring forth wine to gladden the heart. Drunkenness turns that upside down.