Rig Veda 1.1.3

अग्निना रयिमश्नवत्पोषमेव दिवेदिवे । यशसं वीरवत्तमम् ॥

Agnina rayimasnavat posameva dive-dive
yasasam viravattamam

Adoration of God.

By fervent adoration of God who is Self-effulgent Supreme Being, a devotee obtains from Him day by day such excellent possessions as impart happiness through the strengthening of body, mind and soul possessions which bring great fame and include the strongest, the bravest and the most accomplished children and other relations. 

Agni means Fire

The word Agni used in the Mantra also stands for fire, heat and electricity etc. by properly using which for personal benefit, a man obtains much material wealth and fame by utilising it for charitable purposes.

Command of god

A man who lives in conformity with the commands of God, scientifically investigates into the properties and uses of agni (fire, heat and electricity etc.) in its various forms and utilises it in arts and crafts, will be able to amass immense wealth, win great fame and have noble offspring and relations by giving them proper education.

– Swami Dayanand translation