Jesus was no stranger to emotional and physical pains. During HIS lifetime on earth, Jesus endured hardships and challenges; He knows how it feels to be sad, lonely and rejected.
During HIS ministry, Jesus was constantly challenged, tested and accused by religious leaders. They called Him a friend of the tax collectors, sinners (Matthew 11:19), and blasphemer (Mark 2:7). They also claimed Jesus was mad, demon-possessed (John 10:20) and they even tried to stone HIM (John 8:59, 10:31–39).
Furthermore, Jesus also experienced the pain of being denied by a loved one (Luke 22:54–62) and betrayed by the one close to Him. (Luke 22:47–48).
Jesus certainly understands all that we are going through. He was “in all points tempted as we are” so if you ever wonder if HE knows how it feels, Yes HE does and HE understands.
Hebrews 4:15
For we do not have a High Priest who cannot sympathize with our weaknesses, but was in all points tempted as we are, yet without sin