Discretion is the better part of valor. meaning

HOME PROVERBS

caution

Discretion is the better part of valor.

it means that:
Caution is preferable to rash bravery; it is better to avoid a dangerous situation than to confront it.