As-salamu alaykum Can you be close friends (someone who you share secrets with or share emotions with) with someone who prays on and off or should you cut him off?

Ustadh AbdulAziz al-Haqqan
He might drag you into cutting off your prayer as well, so you should get close to someone who will help you get closer to Allah not away from him.