Why did Obi wan give up so easily against Vader?

In the OT. I always wondered why obi wan lets vader take him out without much fight. Why is this?