Hardware firewalls are really software firewalls that run on a computer, which is in the router.
They, too, can be hacked.
The best protection is to have both types of software firewalls: Those that run on your computer and those that run on the computer in the router.
Jeff