means that
past wrongdoing can have lasting effects on a person's relationships, reputation or circumstances long after the original act.
For example, the consequences of past wrongdoings or mistakes can continue to cast a shadow over one's life or reputation for a long time. This is a situation where “Old sins have long shadows” applies.