Water pipe in my home, 0.5" diametr copper, came off at a joint due to freezing weather.? - freezing weather and copper pipe

He was a soldier before. I've tried to resolder, but can not for some reason. There who can put cement around the joint that is strong enough to keep the water pressure in the guide?