Hebrews 2:17–18

Because he himself suffered when tempted, he is able to help those who are tempted

17Therefore he had to be made like his brothers in every way, so that he might become a merciful and faithful high priest in the things relating to God, to make expiation for the sins of the people.

18For because he himself has suffered when tested, he is able to help those who are being tested.

Study it word by word

In its context

15and free those who through fear of death were subject to slavery throughout all their lives.

16For surely it is not angels he takes hold of, but he takes hold of the offspring of Abraham.

…

Read all of Hebrews 2

Its words in the original

Temptation