Probably you have developed emotional dependence on him. If you know that you are not going together for rest of your life then there is no point in telling him. He may get disturbed as well, may develop aversion or may exploit your dependence depending on his personality type. You should try to come out of your dependence and to stay away from him. In this emotionally dependent state you cannot think of maintaining friendship as that will make you emotionally weaker.