Jeremiah 17:5 Thus says the Lord: “Cursed is the man who trusts in man And makes flesh his strength, Whose heart departs from the Lord.
The Jews were the chosen people by God. As such they were told to place their full trust and faith in God; and yet they continued to put their faith and trust in the people around them such as the Egyptians or Assyrians.
God extended this to all people when Jesus came forward to give His life for us all. This means He does expect each of us to place our full faith and trust in Him and not in people.
This does not mean we give up on friendships and trusting those around us. Christ reminded us one of the greatest commandments is to love one another.