A gambler lost 1000 rupees at a racetrack but he was not upset. He said I would have spent the money on any other thing any way. Which defense mechanism does his statement involve?

Rationalization

Denial

Reaction formation

Undoing