No, Forbes never participated in the Cricket World Cup. As a former player for the South African cricket team, he competed in various international matches and tournaments but the Cricket World Cup was not among them.
John Forbes Brain Battle: 31 Questions to Win the War