F oi bom para mim ter sido castigado, para que aprendesse os teus decretos.
It is good for me that I was troubled, so that I might learn Your Law.