śrī-bhagavān uvāca
karmaṇā jāyate jantuḥ
karmaṇaiva pralīyate
sukhaḿ duḥkhaḿ bhayaḿ kṣemaḿ
karmaṇaivābhipadyate
sri-bhagavan uvaca -- the Supreme Personality of Godhead said; karmana -- by the force of karma; jayate -- takes birth; jantuh -- the living entity; karmana -- by karma; eva -- alone; praliyate -- he meets his destruction; sukham -- happiness; duhkham -- unhappiness; bhayam -- fear; kshemam -- security; karmana eva -- by karma alone; abhipadyate -- are obtained.
Lord Krishna minimized the importance of the demigods by speaking the philosophy known as Karma-vada or Karma-mimamsa, which, basically, is atheism with a belief in reincarnation. According to this philosophy, there are subtle laws of nature that reward or punish us according to how we act: "As you sow, so shall you reap." In a future life one reaps the fruit of his present work, and this is the sum and substance of reality. Lord Krishna, being God Himself, could hardly be a serious proponent of this mediocre philosophy. In the role of a young boy He was simply teasing His pure devotees by preaching it.
Srila Jiva Gosvami points out that Lord Krishna was thinking, "Why are these eternal associates of Mine, appearing as My father and other relatives and friends, so caught up in this worship of Indra?" Thus although the Lord's main purpose was to take away the false pride of Indra, He also wanted to remind His eternal devotees that they need not divert their attention to other so-called gods, since in fact His devotees were already living with the Supreme Absolute Truth, the almighty Lord Himself.