brahmiṣṭhaṁ brāhmaṇaṁ gurum
sapatnāṁs tava tejasā
vṛṇīmahe—we choose; tvā—you; upādhyāyam—as teacher and spiritual master; brahmiṣṭham—being perfectly aware of the Supreme Brahman; brāhmaṇam—a qualified brāhmaṇa; gurum—the perfect spiritual master; yathā—so that; añjasā—very easily; vijeṣyāmaḥ—we shall defeat; sapatnān—our rivals; tava—your; tejasā—by the power of austerity.
Since you are completely aware of the Supreme Brahman, you are a perfect brāhmaṇa, and therefore you are the spiritual master of all orders of life. We accept you as our spiritual master and director so that by the power of your austerity we may easily defeat the enemies who have conquered us.
One must approach a particular type of guru to execute a particular type of duty. Therefore although Viśvarūpa was inferior to the demigods, the demigods accepted him as their guru to conquer the demons.
Link to this page: https://prabhupadabooks.com/sb/6/7/32