It is reported that Sufyān Al-Thawrī – Allāh have mercy on him – said:

There is nothing that corrupts a person or rectifies him more than [his] companion.

Ibn Battah, Al-Ibānah Al-Kubrā article 504.