There is a distinction between whether an act or event was good and whether it was right. Goodness refers to effects. Rightness refers to justice. The difference between the two is that justice takes motives into account. This is why it is possible to simultaneously believe that colonialism was wrong and that it was good. Wrong because the colonisers often systematically oppressed and abused their subjects. Good because it bought education, peace, medicine, modern agriculture and various other benefits.
This is not to say these are my positions. Just that that there is a difference something being good and just and that distinction is worth remembering.