Just to add to what has been said.
Sometimes the crimped on terminals at the heavy wires to/from the batt-tree/
solenoid look good but where the wires are inside of the terminals they corrode and will not carry the amperage needed.
always give them a good look over also wiggling/pulling on them.