Just some info (maybe it is helpful in this context);
We can condition body and mind in a way that is conducive to the goal of Nibbana. For example, in stead of mind habitually giving rise to unwholesome views, intentions, speech and actions,
we can condition body and mind in a way that it gives habitually rise to wholesome views, wholesome tendencies, wholesome intentions. But this is not yet the domain of the unconditioned, Nibbana, the domain of the arahants.
Such wholesome or meritorious conditionings give rise to good fruits, in this and after this life (high rebirth, for example) but these wholesome conditionings still do represent an element of volition (bright kamma) that will give rise to a new life in samsara.
So, Dhamma teaches that demerit as well as merit is a bond. But merit as bond is much better then demerit as bond. So first of all we can focus on replacing conditionings that lead to misery, with conditions that lead to good fruits. This is in Dhamma called: the development of the mundane noble Path (MN117, not supramundane Path yet).
Expressed here:
Rush to do good,
shield your mind from evil;
for when you’re slow to do good,
your thoughts delight in wickedness.(Dhp116)
If you do something good,
do it again and again,
set your heart on it,
for piling up goodness is joyful (Dhp118)
Think not lightly of evil,
that it won’t come back to you.
The pot is filled with water
falling drop by drop;
the fool is filled with wickedness
piled up bit by bit. (Dhp121)
Think not lightly of goodness,
that it won’t come back to you.
The pot is filled with water
falling drop by drop;
the sage is filled with goodness
piled up bit by bit. (Dhp122)
So, first of all we develop the mundane noble path to more or less replace the demeritorious views, intentions, speech, actions, the evil, that we have collected in many lifes and that only represent a downward path if we follow that. A path to misery. Replace this with good as it were. This will lead to relative happiness here and now and after death. Merit represents an upward Path.
At a certain moment we will also see and understand that mere changing our personal conditionings from demeritorious to meritorious is also not really a safe Path. It is meritorious but it does not free from samsara. Another aspect of the teachings is: purify mind. This means, make an and to all passions and kamma making.
I believe this develops naturally because there comes a time that one sees that all that programmed thinking, speaking and acting, even if this might be called goodhearted, meritorious, is often also not really wise too. One starts to see it is not really pure too. It also contains an element of passion.
One needs an element of freedom and dispassion to act really wisely.
Both meritorious and demeritorious are rooted in avijja. Both contain an element of passion.
This pure level is expressed in these verses, for example:
One whose mind is uncorrupted,
whose heart is undamaged,
who’s given up right and wrong,
alert, has nothing to fear. (Sujato, dph39)
For the one with mind free of lust, for the one with mind unperplexed,
for the one who has abandoned making merit and demerit, for the watchful, there is no fear.
(anandajoti, dhp39)
But one living a spiritual life,
who has banished both merit and evil,
who wanders having appraised the world,
is said to be a mendicant. (Dhp267)
In short: It is not that bright kamma can make an end to suffering. Purity is not the domain of kamma, kamma is not the domain of purity. Arahant and Buddha’s are beyond kamma, meaning dispassionate.