אֶת־הַיָּרֵ֣חַ וְ֭כוֹכָבִים לְמֶמְשְׁל֣וֹת בַּלָּ֑יְלָה כִּ֖י לְעוֹלָ֣ם חַסְדּֽוֹ׃
달과 별들로 밤을 주관케 하신 이에게 감사하라 그 인자하심이 영원함이로다
Midrash BeChiddush
אֶת־הַיָּרֵ֣חַ וְ֭כוֹכָבִים לְמֶמְשְׁל֣וֹת בַּלָּ֑יְלָה “The moon and the stars to dominate the night,” (Ps. 136:9) This refers to the generation of Lemech since he too was a righteous man. After he died (God brought) the great flood so that he wouldn’t have to see his children drowned. Despite this, in comparison with his father he was like the moon next to the light of the sun. The stars were like Noah and his sons that ruled by night; that is in the ark in which there was no light.