If we are obedient to Christ, we will be considered His friend  -  John 15:14

Ye are my friends, if ye do whatsoever I command you.

We show that we are a friend of Jesus by doing whatever He commands us to do. This is the way we exhibit our friendship with Jesus to the world.