proverb

Let another's shipwreck be your sea-mark.

Theme: experience Keyword: ship

means that

Use other people's failures as warnings to guide your own decisions.

Example

She studied earlier failed projects before investing her savings.