Question: what is the meaning of the phrase the end justifies the means?
Answer: A good outcome excuses any wrongs committed to attain it. For example, He's campaigning with illegal funds on the theory that if he wins the election the end will justify the means, or The officer tricked her into admitting her guilt—the end sometimes justifies the means.