1973 valiant 318 car stalls when compressor comes on

You should of seen the tape that was wound up and hiding this mess I believe the freyed up wire at the ends I suspect came from the alternator wire ?