Hebrews 2:17-18 (WEB)
17 Therefore he was obligated in all things to be made like his brothers, that he might become a merciful and faithful high priest in things pertaining to God, to make atonement for the sins of the people.
18 For in that he himself has suffered being tempted, he is able to help those who are tempted.
About Hebrews 2: Hebrews opens with a comparison between angels and Jesus. Chapter 1 established that Christ is far above them. Chapter 2 turns to the practical result for believers. It warns against drifting away from the message of salvation. The author addresses Jewish Christians tempted to trust the old law over the new covenant in Christ. Read the study notes
2 verses · Compare in parallel · Read all of Hebrews 2