Skip getting wire. Go to the auto parts store and get some waterproof crimp connectors. They have a sealant and heat shrink tubing. Put the ends of the wire back on.
Then start troubleshooting why the starter clicks. Could be the battery or corrosion on battery cable connections.