It is the main purpose.
The revenue collected through taxes can be used for development of agriculture and industry and to provide infrastructural facilities in poor countries. Thus, entrepreneur can be encouraged to set up industries in backward regions and hence capital formation is increased. In rich countries, the rate of capital formation is already high.