Srimad Bhagavatam Canto 10, Chapter 89, Text 04

 SB 10.89.4

sa atmany utthitam manyum
atmajayatmana prabhuh
asisamad yatha vahnim
sva-yonya varinatma-bhuh
 
Translation: 
 
Though anger toward his son was now rising within his heart, Lord Brahma was able to subdue it by applying his intelligence, in the same way that fire is extinguished by its own product, water.
 
Purport: 
 
Lord Brahma is sometimes affected by his contact with the mode of passion. But because he is adi-kavi, the firstborn and foremost learned scholar in the universe, when anger begins to disturb his mind he can control it by means of discriminating self-examination. In this instance he reminded himself that Bhrgu was his son. Thus in this verse Sukadeva Gosvami draws the analogy that Brahma’s own expansion (his son) served to put out his anger just as water, which originally evolved from elemental fire in the primeval creation, puts out a fire.
Srimad Bhagavatam Canto 10, Chapter 89, Text 03
Srimad Bhagavatam Canto 10, Chapter 89, Text 05