the right thing to do
O Tom sabia que foi a coisa certa a fazer.
Tom knew it was the right thing to do.
Eu acho que é a coisa certa a fazer.
I think it's the right thing to do.
Essa foi a coisa certa a fazer.
That was the right thing to do.
This is the right thing to do.