Shri Ram Shalaka


बिधि बस सुजन कुसंगत परहीं।
फनि मनि सम निज गुन अनुसरहीं॥

This part is from the beginning of baal kaand, in which it is said to avoid the company of bad people.

Conclusion:-

You should avoid the company of bad people as their is no surity of success in your work.