Devotion to God burns up karma, leading to our spiritual emancipation.
Altogether, the Bhagavad Gītā introduces three kinds of yoga or paths to enlightenment.
In addition to bhakti yoga, there is also karma yoga and jñāna yoga.
In karma yoga, one pursues spiritual emancipation by acting in accordance with one’s duty (hence performing good acts).