What is the meaning of [the sun loses nothing by shining into a puddle]

Those who are truly great cannot be corrupted by association with foul or wicked things or people