Canada was poorer than Italy and richer than Britain? Yes

How could 19th-century Canada be as poor as Italy and richer than Britain at the same time?