The first thing to do is check the connections on the battery, both the clamp or bolt to the battery terminal and the cable connected to that clamp or bolt. The thing that matters with a connection - especially one drawing high current although this is not the case here - is the amount of surface area actually contacting, the more the better.
Then, if you can, measure the voltage across the battery terminals with and without the pump running. If the battery is OK there should be difference of only a small fraction of a volt, but if the battery is on its way to see its maker the voltage drop will be very much greater.