Ham saw his father, Noah, drunk and naked in his tent. What did he do? He went and told his brothers.

Shem and Yefet saw their father, took a blanket, and covered him without looking.

If you see what needs to be repaired and how to repair it,
then you have found a piece of the world that G‑d has left for you to complete.

If you only see what is wrong and how ugly it is,
then it is you yourself that needs repair.

In either case, it is impossible that you should ever see something and there is nothing you can do.

Likutei Sichot vol. 10, Noah 2.