The end does not justify the means, at least in Islam, even in Engineering 😊. Thus, the overall worth of a matter does not depend on the outcome, but how did the outcome come to be.
As excellently expounded by Imam Malik (RH):
“The world is a prison for the believer and a paradise for the disbeliever”.
It won’t reduce anything from you if you choose to learn the exact text and