Heraclitus said this quote

Allow yourself to think only those thoughts that match your principles and can bear the bright light of day. Day by day, your choices, your thoughts, your actions fashion the person you become. Your integrity determines your destiny.