Śrīmad-Bhāgavatam · Texts 8.5.19-20
Who is speaking and story frame
स विलोक्येन्द्रवाय्वादीन् नि:सत्त्वान्विगतप्रभान् ।
लोकानमङ्गलप्रायानसुरानयथा विभु: ॥ १९ ॥
समाहितेन मनसा संस्मरन्पुरुषं परम् ।
उवाचोत्फुल्लवदनो देवान्स भगवान्पर: ॥ २० ॥
sa vilokyendra-vāyv-ādīn
niḥsattvān vigata-prabhān
lokān amaṅgala-prāyān
asurān ayathā vibhuḥ
samāhitena manasā
saṁsmaran puruṣaṁ param
uvācotphulla-vadano
devān sa bhagavān paraḥ
Upon seeing that the demigods were bereft of all influence and strength and that the three worlds were consequently devoid of auspiciousness, and upon seeing that the demigods were in an awkward position whereas all the demons were flourishing, Lord Brahmā, who is above all the demigods and who is most powerful, concentrated his mind on the Supreme Personality of Godhead. Thus being encouraged, he became bright-faced and spoke to the demigods as follows.
Read Śrīla Prabhupāda's purport on Vedabase.io