There is nothing just about that.
[
Your looking at it wrong.
The word says whoever does not keep every word of the law by obeying it is cursed.
The word says if you keep the whole law yet stumble (accident) in one point,. your guilty of the whole law
The word says the wage of sin is death.
So if the wage of one sin is death, if the wage of 1 sin causes us to be bursed by the law
imagine the wage of the many sins we all have committed being stacked on one another.
I mean lets think about it. If I have been sentenced to death for over 100 crimes. Is it just that I be allowed to live and not be required to pay for my crimes?
Yet you think it is unjust for God to do this very thing?