The quote is talking about the difference between feeling hopeless and having courage. It is saying that some may think that it doesn’t really make a difference which situation you are in, but Dumbledore and Harry know that there is a huge difference between feeling hopeless and having courage. Harry is proud of his parents for knowing and understanding this difference.