That’s particularly problematic for things like wire splices in damp environments, something that no amount of electrical tape is going to help. Heat shrink tubing might be your friend here ...
No, you can’t just wrap the bare wires with electrical tape. That might make you ... of 12-2 nonmetallic cable and a package of heat shrinkable tubing. Peel off the outer jacket of 12-2 ...