“He knew you can't really be strong until you can see a funny side of things.”
Variant: You can't really be strong until you can see a funny side to things.
Source: One Flew Over the Cuckoo's Nest