Brahman obtained the victory for the Devas. The Devas became elated by the victory of Brahman, and they thought, this victory is ours only, this greatness is ours only.
In plain words: Brahman won a victory for the Devas, the gods. But the gods became proud and thought the victory and greatness were all their own.