"All's well that ends well" is a ballad during the French Revolution. Jack and Jill alluded to King Louis 16 and his queen Mary, both of whom were beheaded. But then the ballad spread, and it no longer had its original meaning.
The original ballad was: "Jack and Jill went up the hill to get a pair of water, Jack.
Fell down and broke his crown, and Jill stumbled behind. Jack got up and went home. He jumped to bed and wrapped his bag in vinegar and brown paper. The Chinese meaning of this sentence is: "All shall be well, jack shall have Jill." .