Having a login password doesn't protect your Mac from hackers who can boot into Recovery mode and reset your password. A Mac firmware password prevents this situation from happening by adding a hardware-level layer of security to your Mac.