The wife of King Cepheus was an exceptionally beautiful queen Cassiopeia, if you take the ancient Greeks at their word. Because of this very beauty, they got into trouble, because the envious and not particularly choosy ancient Greek goddesses decided to do the royal couple a great mischief.
Cassiopeia (Κασσσσιέπεια), the mother of Andromeda.
One day Cassiopeia boasted that she and her daughter were more beautiful than the Nereids. The Nereids told Poseidon about such insolence and he sent a flood and a sea monster that devoured people to Ethiopia. Apollodorus tells us that the oracle told Cepheus that the only way to escape the monster was to sacrifice the king's daughter, the beautiful Andromeda, to the monster.
Cassiopeia was hesitant to part with her daughter, but the people of Ethiopia forced the king and queen to agree to the sacrifice.
According to legend, the constellation Cassiopeia appeared in the night sky after Cassiopeia, the mother of Andromeda, was moved into the firmament as a constellation together with her daughter, her husband Cepheus (Cepheus), and her daughter's lover Perseus.