How should it be applied? Here is an example from the Mahayana Abhidharma Sangiti Shastra. Three people were having a meal together. One of them thought, “I’m going to steal something (or kill some animals) after my meal.” Another thought, “I’m going to help releasing some animals (or do prostrations) afterward.” The third person thought, “I just want to fill my empty stomach; nothing else is planned afterward.”
They were all having a meal, but because each had a different purpose of eating, the same action resulted in three different kinds of karma. Eating, in the case of the one who wanted to kill and steal afterward, was doing evil; good karma for the one who wanted to do beneficial things afterward, which surely will bring good rewards in the future; neutral effect for the one who just wanted to fill the stomach, an ordinary daily activity that would not have any particular consequences. They were doing neither good nor bad things when having a meal. However, different motivations ended up causing three different results. It shows just how crucial motivation is.
~ Depicted from THE RIGHT VIEW - The Three Supreme Methods—the ultimate methods of cultivating virtue and training the mind