Your observation seems to be the correct one, however I would advise against referencing Maccabees, as there are passages that directly conflict with parts of canon scripture, for example what is written in II Mac. 12:46:
"It is therefore a holy and wholesome thought to pray for the dead,
that they may be loosed from sins."
This passage teaches that there is something that can be done for the dead, that their sins may be loosed. What is that? "Pray".
However, what do the canonical scriptures say with regards to the actions of the living for the dead? Eccles. 9:5-6:
"For the living know that they will die; but the dead know nothing,
and they have no more reward, for the memory of them is forgotten.
Also their love, their hatred, and their envy have now perished;
nevermore will they have a share in anything done under the sun."
What will the dead no longer have a share in? "Anything done under the sun." Hence, the actions of the living can no longer affect those who have passed on, contrary to what may have become tradition by the time that Maccabees was written.
Thus, it was not surprising that Jesus had this to say about the Jews. Matt. 15:3:
"He answered and said to them, "Why do you also transgress the
commandment of God because of your tradition?"
What was being transgressed by what had become Jewish tradition? "the commandment of God." Hence, I would repeat my advice to be wary of anything written in Maccabees.
Now, to address the passage you referenced, let's ask the Bible: Can other people die for our sins? Deut. 24:16:
"'Fathers shall not be put to death for their children, nor shall
children be put to death for their fathers; a person shall be put to
death for his own sin."
Can someone else die for our sin? "A person shall be put to death for his own sin". Hence, the passage you quoted is, like other passages in Maccabees, in conflict with what is taught in the canonical scriptures, and should be considered just merely human opinion.
A person may say, "Doesn't Christ's death conflict with this, also?" That's a question for another time.