Fetching details from the dictionary...

to commit (e.g. crime); to perpetrate; to make (e.g. mistake)
to break (e.g. rule); to violate; to transgress; to contravene
to rape; to violate; to ravish; to deflower
若い頃に過ちを犯したことがある。
I made mistakes when I was young.
法律を犯した者は相応の罰を受けなければならない。
If you break the law, you'll be punished.
二度と同じ過ちを犯さないと誓った。
I swore never to make the same mistake again.