Jesus is trying to teach us about transactional love. We make lots of transactions in life, and the problem is when we wander into transactional relationships. We look to people and think about what we can get out of them.
So Jesus wants us to be intentional about spending time with people who can't do anything for us, to learn to love people for the sake of people, to find joy in them as fellow people made in the image of God, the way God loves us -- not because God needs something from us, but because God is love and treasures us.