Thiruvalluvar said this quote

Forsake not the friendship of those who have been your staff in adversity, Forget not be benevolence of the blameless.