You need to chill the dough for two reasons. First, it allows the flavors to mingle and really get to know each other. Second, it hardens the butter and reduces the spreading of the cookies. If you don’t chill the dough your cookies will be flat as a pancake.