proverb

Garbage in, garbage out.

Theme: consequences Keyword: dirt

means that

the quality of a result depends on the reliability of the information and materials used to produce it. The saying originated in computing but has a wider application.

Example

The statistical analysis was unreliable because the original data contained numerous errors.