Purana Jyotisha Sangraha · by Vyasa
Chapter 1 · Konark and Godavari Tirthas
ब्रह्मपुराणम् : गोदावरीतीरे ग्रहतीर्थानि कोणार्कश्च
न शापैर्हन्यते चन्द्रो नाऽऽयुधैः सुरमन्त्रितैः ।बृहस्पतिप्रणीतैश्च न मन्त्रैर्हन्यते शशी ॥ १२ ॥
From the Brahma Purana, print ch 152, verse 12.
The Moon is not killed by curses or by weapons charged with mantras by the gods. The Moon is not killed by mantras made by Jupiter.
Simple meaning: Curses, weapons and mantras could not harm the Moon.
तदा चन्द्रस्तु तां तारां नीत्वा संस्थाप्य मन्दिरे ।
The Moon kept Tara in his house for many years.
न जीयेत तदा देवैर्न कोपैः शापमन्त्रकैः ।
No god, king, sage or plan could beat the Moon then.
यदा भार्यां न लेभेऽसौ गुरुः सर्वप्रयत्नतः ।
When all means failed, Jupiter remembered the rule of wise conduct.