The RaMBaM (Rabbi Moshe Ben Maimon – Maimonides) makes the following fascinating observation upon his conclusion of the halachos of Chanukah, in his Mishneh Torah.
If one has insufficient funds for both Shabbos candles and for Chanukah candles, or for Shabbos candles and wine for Kiddush, Shabbos candles take precedence, because of Shalom Bayis— peace and domestic tranquility within the home and family, which the Shabbos candles bring into the home. The peace within the home is so important that only in the case of a Sota (Trial of the Bitter Waters – Numbers 5: 18-27) the holy name of G-d is erased, in order to foster peace between a man and his wife.
At which point, the RaMBaM concludes with the following beautiful words:
Peace is exceedingly great, for the entire Torah was given in order to foster peace in the world. As it says:
Her ways are ways of beauty, and all her paths are peace. (Proverbs 3:17)
One Chanukah eve, a holy rabbi waited a long time in lighting his Menorah, even though the preferable time for lighting the Menorah had already passed. His students became impatient and wondered why was there such a delay.
It was not until his wife arrived that the holy rabbi lit his Menorah with great joy and happiness.