What SPF does
SPF is a list of servers and services that may send email for the domain. The receiver checks the list and knows whether the sender is approved.
The limit of 10 DNS lookups
Every include, a, mx, ptr, exists and redirect costs one lookup, and the lookups inside the included records count too. More than 10 gives an error, and then SPF fails for all email from the domain.
The tree below the result shows where the lookups come from, so you can see what to remove.
~all or -all?
The end of the record decides what happens to everyone else. Together with DMARC, ~all is common and safe. -all is stricter. +all lets everyone through and should never be used.