Om Swami
How close should I get to people who drag me into bad habits?
Keep a distance from such people
Rahim's doha says that with such people neither enmity nor affection is good. Stay at a distance, like with a dog whose lick gives germs and whose bite does worse.
Rahim ji has said this because a dog, even if it licks you, gives you germs, and if it bites, gives you much more. So it is better to stay at a distance.