saha devais tayā saha
Thereafter, having heard of the distress of mother earth, Lord Brahmā, with mother earth, Lord Śiva and all the other demigods, approached the shore of the Ocean of Milk.
After Lord Brahmā understood the precarious condition of the earth, he first visited the demigods headed by Lord Indra, who are in charge of the various affairs of this universe, and Lord Śiva, who is responsible for annihilation. Both maintenance and annihilation go on perpetually, under the order of the Supreme Personality of Godhead. As stated in Bhagavad-gītā (4.8), paritrāṇāya sādhūnāṁ vināśāya ca duṣkṛtām. Those who are obedient to the laws of God are protected by different servants and demigods, whereas those who are undesirable are vanquished by Lord Śiva. Lord Brahmā first met all the demigods, including Lord Śiva. Then, along with mother earth, they went to the shore of the Ocean of Milk, where Lord Viṣṇu lies on a white island, Śvetadvīpa.