Better in terms of raw damage, perhaps, but the fighter will probably have higher AC and more hit points, as well as second wind, action surge, and subclass benefits. Plus, the fighter will eventually get ASIs and/or feats, better equipment, and four attacks by level 20.