The Bible has plenty of guidance on how to recognize genuine friendships and how to avoiding corrupting influences.