On Hebrews 5:2 / Hebrews 7:27

In Hebrews 5:2 He can be lenient with the ignorant and the misguided, since weakness is also his portion.

And it is because of this weakness that he must offer sacrifices for his own sins, as well as for those of the people.

Hebrews 7:27 who does not need to offer up sacrifices
daily, as those high priests do, first for his own sins
and then for the sins of the people

The author mentions men who were subject to weaknesses because the law of God was not yet deeply and personally written in them. These weaknesses do not necessarily refer to sins but rather to errors of judgment, human limitations in certain circumstances of life or negative reactions that do not
reflect daily piety.

Actions that accompany human life. In this context, Hebrews 5:1-3 explains that the high priest, taken from among men, offered sacrifices for sins including those committed unintentionally or through ignorance because of
errors, examples mentioned above.

These weaknesses include unintentional mistakes, moments of lack of discernment, or imperfect human reactions that did not involve a strict break with God.  The distinction between mortel and veniel sins be done

There are many examples in the Old Testament that speak of
severe punishment for those who deliberately and willfully
commit serious concsious sins such

Sexuel sins (Leviticus 20)

Murder (Exodus 21:12, Genesis 9:6)

Breaking the Sabbath (Exodus 31:14-15)

Blasphemy (Leviticus
24:16) –

Witchcraft (Exodus 22:18, Deuteronomy 18:10-12)
Exodus 21:17

Curisng, Idolatry (Deuteronomy 13:6-10) etc..

The high priest, himself subject to the same veniel frailties, was also required to offer sacrifices for his own sins, which underscores the compassion and understanding in his office.

This distinction shows that human weakness is not synonymous with rebellion or serious and deadly willful sin, but with actions that need to be dealt with by offerings. This reveals to us the uncompromising nature of God even with
regard to disagreeable attitudes and inappropriate conduct.