单项选择题

______ to find the proper job, he decided to give up job-hunting in this city.

A. Failed
B. Being failed
C. To fail
D. Having failed