Learn from the mistakes of others, and avoid being one whose mistakes are used as lessons by others.
or simply: