What is the meaning of [trust not a new friend nor an old enemy]

It is foolish to trust either a friend of short standing or someone else who may harbor hostile feelings.