We tend to gather in cliques and befriend those from whom we believe we can have gain. The Bible does tell us to seek out the wise so that we can be wise (Proverbs 13:20 Proverbs 13:20He that walks with wise men shall be wise: but a companion of fools shall be destroyed.
American King James Version×). There is nothing wrong with spending time with friends and people we enjoy being with—unless we treat those who we have little to do with poorly or as though they are not worthy of our time. Then we are wrong and in danger.
Jesus explained that we are to be like our Father in heaven, and that He makes the sun to shine on the good and the evil. He makes the rain fall on the just and the unjust (Matthew 5:45-48 Matthew 5:45-48  That you may be the children of your Father which is in heaven: for he makes his sun to rise on the evil and on the good, and sends rain on the just and on the unjust.
 For if you love them which love you, what reward have you? do not even the publicans the same?
 And if you salute your brothers only, what do you more than others? do not even the publicans so?
 Be you therefore perfect, even as your Father which is in heaven is perfect.
American King James Version×). If we love those who love us and greet only them, we are far from the attitude God seeks. Just as God loves the world and gave His Son for all (John 3:16 John 3:16For God so loved the world, that he gave his only begotten Son, that whoever believes in him should not perish, but have everlasting life.
American King James Version×), so we too need to consider everyone we come in contact with as a potential son of God. That does not mean we will not have enemies or people we need to avoid, but it does show us that our attitudes count heavily in our behavior toward our fellow man. We should be striving to become like God.