In the beginning, the Grandsire Brahma created all creatures. Endued with mighty energy, he saw that the creation bore no signs of decay. Thereat, O king, the Creator began to think about the destruction of the universe. Reflecting on the matter, O monarch, the Creator failed to find any means of destruction. He then became angry, and in consequence of his anger a fire sprang from the sky. That fire spread in all directions for consuming everything of the universe.
Then heaven, sky, and earth, all became filled with fire. And thus the Creator began to consume the whole mobile and immobile universe. Thereby all creatures, mobile and immobile, were destroyed. Indeed, the mighty Brahma, frightening everything by the force of his wrath, did all this,
Then Hara, otherwise called Sthanu or Siva, with matted locks on his head, that Lord of all wanderers of the night, appealed to the divine Brahma, the Lord of the gods. When Sthanu fell (at Brahma's feet) from a desire of doing good to all creatures, the Supreme Deity to that greatest of ascetics, blazing with splendour, said, 'What wish of thine shall we accomplish, O thou that deservest to have all thy wishes fulfilled?
O thou that hast been born of our wish! We shall do all that may be agreeable to thee! Tell us, O Sthanu, what is thy wish?'"
"Sthanu said, 'O lord, thou hadst taken great care for creating diverse creatures. Indeed, creatures of diverse kinds were created and reared by thee. Those very creatures, again, are now being consumed through thy fire. Seeing this, I am filled with compassion. O illustrious lord, be inclined to grace.'
"Brahma said, 'I had no desire of destroying the universe, I desired good of the earth, and it was for this that wrath possessed me. The goddess Earth, afflicted with the heavy weight of creatures, always urged me for destroying the creatures on her. Urged by her, I could not however, find any means for the destruction of the infinite creation. At this wrath possessed me.'
"Rudra said, 'Be inclined to grace. O lord of the universe, cherish not the wrath for the destruction of creatures. No more let creatures, immobile and mobile, be destroyed. Through thy grace, O illustrious one, let the threefold universe, viz., the Future, the Past, and the Present exist. Thou, O Lord, hadst blazed up with wrath. From that wrath of thine, a substance like fire sprang into existence, That fire is even now blasting rocks and trees and rivers, and all kinds of herbs and grass. Indeed, that fire is exterminating the immobile and the mobile universe. The mobile and the immobile universe is being reduced to ashes. Be inclined to grace, O illustrious one! Do not give way to wrath. Even this is the boon I solicit, All created things, O divine Being, belonging to thee, are being destroyed. Therefore, let thy wrath be appeased.
Let it be annihilated in thy own self. Cast thy eye on thy creatures, inspired with the desire of doing them good. Do that by which creatures endued with life may not cease to be. Let not these creatures, with their productive powers weakened be exterminated. O Creator of the worlds, thou hast appointed me their Protector, O Lord of the universe, let not the mobile and the immobile universe to be destroyed. Thou art inclined to grace, and it is for this that I say these words unto thee.'
"Narada continued, Hearing these words (of Mahadeva) the divine Brahma, from desire of benefiting creatures, held in his own inner self his wrath that had been roused. Extinguishing the fire, the divine Benefactor of the world, the great Master, declared the duties of Production and Emancipation. And while the Supreme Deity exterminated that fire born of his wrath, there came out from the doors of his diverse senses a female who was dark and red and tawny, whose tongue and face and eyes were red, and who was decked with two brilliant ear- rings and diverse other brilliant ornaments. Issuing out of his body, she smilingly looked at those two lords of the universe and then set out for the southern quarter,
Then Brahma, that controller of the creation and destruction of the worlds, called after her by the name of Death. And Brahma, O king, said unto her, 'Slay these creatures of mine! Thou hast been born of that wrath of mine which I cherished for the destruction (of the universe). By doing this, kill all creatures including idiots and seers at my command. By doing this, thou wilt be benefited.'
Thou lotus-lady, called Death, thus addressed by him reflected deeply, and then helplessly wept aloud in melodious accents. The Grandsire then caught the tears she had shed, with his two hands, for the benefit of all creatures, and began to implore her (with these words).'
Brahma's creation initially was indestructible. Every single being was immortal. Which caused overpopulation,. So he decided to eradicate the universe by himself. A divine flame erupted from his body knows as Samvartaka and started consuming the universe.
It was Shiv who saved the universe by appeasing Brahma through kind words and proposing to find some other solution. Shiv couldn't stand witnessing Brahma destroying his own creation.
Brahma harnessed the flame and from it a lady was born, Mrityu or death itself. Brahma assigned her with the task of killing all in their respective time. Death however was reluctant to do it. Death underwent penance for billions of years to change Brahma's mind, but it was of no use. Further, death cited that his creations were perfect and pure souled and she cannot kill them. Upon hearing it Brahma poisoned the minds of his creations, causing death to feel less guilty over killing them.
Thus addressed, O monarch, that lady, joining her hands, once more said these words, seeking her.grace by bowing down unto him with her head, If, O Lord, this is not to be.without me, then thy command I place upon my head. Listen, however, to what I say, Let covetousness, wrath, malice, jealousy, quarrel, folly and shamelessness, and other stern passions tear the bodies of all embodied creatures.'
"Brahman said, 'It will be, O Death, as thou sayest. Meanwhile, slay creatures duly. Sin shall not be thine, nor shall I seek to injure thee, O auspicious one.
Brahma is without a doubt the most terrifyingly cruel and evil god imaginable. To him the suffering of countless beings is nothing more than a pastime, an amusement for his own pleasure. And the most funny part is, he is the very authority that defines good and evil. Writer of fate. When he possess the power to dictate morality itself what could possibly make him evil in his own eyes.
On the other hand most kind god is obviously Shiva, As he alone opposed to the unjust destruction of created beings..
Thanos sought to destroy half of life to solve Overpopulation, but Brahma chose to extinguish the entire universe to solve this issue. LoL