Max level Fighters get Extra Attack 3 which grants 4 attacks before spending their Bonus Action or a single resource. Add in things like Action Surge and some source of a Bonus Action attack (Polearm Master, Crossbow Expert, or even off hand weapon) and Fighters can easily get 9 Attacks.