It'll all come out in the wash

Where does the term, "it'll all come out in the wash" come from? From what I understand, the saying means everthing works out evenly in the end.

Replies