The words in Bhagavad Gita are so intricately used with flexible meanings that different people often interpret it differently.
It says, "Karmany evadhikaras te ma phalesu kadachana ma karma-phala-hetur bhur ma te sango 'stv akarmani"…
It means you should keep on working without expecting any result. However, this isn’t necessarily meant to be taken literally or in every situation.
What it means is that we shouldn’t act greedily and selfishly. We should always be selfless when helping others, when doing something good. Because when we expect something from our good, we actually spoil that “good”—we take away its essence. It’s like we’re doing something for someone, not exactly to help, but to get greater rewards in return.
While this in itself isn’t a bad thing today if it’s getting people to do something good, according to Hindu scriptures (and other religions) it’s something not acceptable. You must keep doing good without hoping anything in return—this will surprinsgly bring good to you.
On the other hand, science doesn’t say we shouldn’t do this. It doesn’t say anything that’s contrary to Bhagavad Gita. It’s just how we try to interpret it.
Science says we must always keep an eye on our goals—where we want to go so that we don’t get lost amid all the distractions. It asks us to vision the end result every day in terms of measuring success—to motivate us. Because when we’re focusing on the end goal, we would eventually achieve that despite all the struggles.It all depends on how you interpret Bhagavad Gita and how you use scientific theories. They don’t fit in every aspect of life. You need to know where they are more suitable.