987 B
But thanks be to God!
"But I thank God!"
For you were slaves of sin
Being "slaves of sin" is a metaphor meaning they have such a strong desire to sin that they are unable to keep from sinning. It is as if sin controls the person. Alternate translation: "you were like slaves of sin" or "you were unable to keep from sinning" (See: rc://en/ta/man/jit/figs-metaphor)
but you have obeyed from the heart
Here the word "heart" refers to having sincere or honest motives for doing something. Alternate translation: "but you truly obeyed" (See: rc://en/ta/man/jit/figs-metonymy)
the pattern of teaching that you were given
Here "pattern" refers to the way of living that leads to righteousness. The believers change their old way of living to match this new way of living that Christian leaders teach to them. You can translate this in an active form. Alternate translation: "the teaching that Christian leaders gave you" (See: rc://en/ta/man/jit/figs-activepassive)