If even virtuous acts can create more karma, should we also stop being virtuous? Definitely not! However, you should act without the idea of earning merit, for that would just be another form of desire. Being ordinary sentient beings, we cannot act, speak, or think without attachment.
The Path out of Suffering
The path out of suffering is to emulate the bodhisattva way by generating bodhi-mind, and acting with compassion in our hearts, and Buddhadharma in our thoughts. It is a process of cultivation called the eightfold noble path.32 Although we understand the need to stop suffering and being prey to the causes of suffering our karmic burden makes it difficult to find cessation. We need the fourth noble truth to remind us. We also need to practice the path, which is the gradual non-accumulation of the causes of suffering through the three studies ( tripitaka) of precepts ( sila-vinaya), concentration (samadhi), and wisdom (prajna).
The Precepts