I think both can tell a good story. Books are usually more lenghty, therefore they have more time to develop their characters and story, and eventually you feel more attached to them but a movie can be as good with good actors to give life to its characters and also has something that books don't...soundtrack, and i think music (which unlike images, cannot be recreated through writing) alone can also tell you a story without words.
Thank you for this question!