What SPF actually does
SPF checks whether the sending server is authorized to use the domain in the SMTP envelope identity. It helps receivers reject or flag forged mail, but by itself it does not protect the visible From header the way DMARC alignment does.
In practice, SPF is one layer of modern email authentication next to DKIM and DMARC. If SPF is broken, real mail can fail delivery. If SPF is too loose, spoofed mail gets more room to operate.