You would attend a lecture because you want to learn the lecture topic.