He was caught committing a crime.
悪事は必ず露見するものだ。
Evil deeds will inevitably come to light.
Rare, somewhat archaic usage for bad luck or disaster. Modern Japanese usually prefers 不幸 or 災難.
古い文献では、悪事が不幸を意味することもある。
In old texts, 悪事 can sometimes mean misfortune.
The reporter exposed the politician's wrongdoing.
At last, his wrongdoing was found out.
He got involved in wrongdoing because of his debts.
The man repeated his wrongdoings and was finally arrested.