Answer:
D. self-serving bias.
Explanation:
A self-serving bias refers to the usual practice of people taking credit for positive things or events while blaming external forces for bad things. Age, community, psychological findings, and more will affect that. It tends to happen widespread across populations. As per the question John takes credit for the work which is finished on time but for the delayed work he blamed his co-workers and therefore his attitude reflects self-serving bias.