This proverb is often used as a warning to people to be careful about the company they keep. If you spend time with people who are always getting into trouble, you are more likely to get into trouble yourself. Similarly, if you spend time with people who are always negative, you are more likely to become negative yourself.
On the other hand, if you spend time with people who are positive and successful, you are more likely to become positive and successful yourself. This is because you will be influenced by their positive attitudes and behaviors.
So, if you want to improve your life, it's important to be careful about the company you keep. Surround yourself with positive people who will inspire and support you, and you will be more likely to achieve your goals.