Two people can do the very same thing, study for a test or train for a match, from two different places. One acts from a settled understanding of what is worth doing. The other acts because of what they hope to get. Krishna says the first is far higher than the second.
Most commentators read "karma" here as action done with desire for the reward, set against action done from buddhi-yoga, the clear and even mind of 2.48. The verse isn't saying thinking is better than doing. Krishna is about to tell Arjuna to act, and act well (2.50).
The word for "pitiable", kṛpaṇa, is a pointed choice. At 2.7 Arjuna described himself as overcome by kārpaṇya, the same root: a poor, shrunken state of mind. Krishna turns the word around. The truly shrunken person is the one whose every move hangs on the payoff, always anxious, always bargaining.
"Take refuge in understanding" is advice for where to stand when things are uncertain. You can't stand on the result, because it hasn't happened yet. You can stand on a clear sense of why you are doing what you do.