The dirt bike came first.
If beer had come first, then we'd just be pissed all the time and nobody would have bothered to invent the dirt bike.
On the other hand, the very first person to ride a dirt bike got home and said "That was f#$kin' tops. Now, I need a... something" - and that's how beer was invented.
True story.