As a verb:
* The leaked memo discredited the company's claims about its environmental practices. (Meaning: the memo made the company's claims seem untrue or unreliable)
* The politician's opponent tried to discredit her by spreading false rumors. (Meaning: the opponent tried to make the politician look bad)
* The witness's testimony was discredited when inconsistencies were revealed. (Meaning: the testimony was found to be unreliable)
As a noun:
* The scandal brought great discredit to the organization. (Meaning: the organization's reputation was damaged)
* The journalist's investigation exposed the discredit surrounding the government program. (Meaning: the investigation revealed the program's flaws and unreliability)
Other examples:
* The evidence was insufficient to discredit the defendant's alibi. (Meaning: the evidence was not strong enough to prove the alibi false)
* The company's marketing campaign was designed to discredit its competitors. (Meaning: the campaign aimed to make the competitors look bad)
These examples demonstrate how "discredit" can be used in different contexts, both as a verb and a noun.