Car lost all electrical while driving

I was driving my 70 Duster the other day cruising in 4th gear and the car lost all power. I pulled off the road and checked under the hood. My battery connections seemed to be very tight. I tried to move the cables on the battery terminals and couldn't. I did grab the negative cable and try to move it but it didn't. Also checked where the cable connects to the engine block and all seemed good. I turned on the lights and they now came on. Got in and turned the key and she fired right up. I was able to drive home without any further issues. Would a temporary loss of ground cause all electrical in the car to shut down. I'll start with new battery cables first cause my cables have the terminal ends that clamp down on the wire.