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?

Undoing

Denial

Rationalization

Reaction formation