Purana Jyotisha Sangraha · by Vyasa
Chapter 16 · Shani and Dasharatha, Mount Abu and Arunachala
स्कन्दपुराणम् : अर्बुदः हाटकेश्वरक्षेत्रं नर्मदा अरुणाचलश्च
दृष्ट्वा दैत्यान्पुरा देवैर्निर्जितान्नृपसत्तम ।चिन्तयामास मेधावी भार्गवस्तान्प्रति द्विजः ॥ २ ॥
From the Skanda Purana, print Prabhasa Khanda, Arbuda Khanda ch 15, verse 2.
O best of kings, Bhargava saw the demons beaten by the gods in the old days. The wise Brahmin thought about them.
Simple meaning: Venus saw the demons losing to the gods and began to think.