Do you think we meet the people in our lives for a specific reason or is it all random?

I think the question is self-explanatory. People includes friends, mentors, and even enemies. There's nearly 7 billion people in the world. Are we destined to meet a certain few or is it all by chance?