Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
पुंस्त्वसौभाग्यसंपन्ना भविष्यंति न संशयः ।व्यपेतविद्यास्ते सर्वे जनास्स्युःसुखभागिनः ॥ ५१ ॥
From the Shiva Purana, print Rudra Samhita, Yuddha Khanda ch 50, verse 51.
They will have manliness and good fortune, for sure. Even without learning, all those people will share in happiness.
Simple meaning: The text says such worshippers will have good fortune and happiness.
इति दत्वा वरान्देवस्तत्र लिंगे लयं ययौ ।
The text says Shiva merged into the linga and Venus went home happy.
तत्राद्यस्सोमनाथो हि चन्द्रदुःखक्षयंकरः ।
The text says worship at Somanatha ends the Moon's trouble and may heal wasting sickness and leprosy.
शिवावतारस्सोमेशो लिङ्गरूपेण संस्थितः ।
The text says the Moon worshipped Shiva as Someshvara in Saurashtra long ago.