In the town of Nain there was a widow and on the day YESHUA came to town she was burying her only son.
If my schooling is correct in the First Century a widow with no children would have no means of support.
A terrible, tragic fate for a woman.
As I read verses 11 – 15 of Luke 7, other verses came to mind (and yes I had to do a duck-duck-go search to locate the Biblical address but I found them) John 19:25-27.
25 Nearby Yeshua’s execution stake stood his mother, his mother’s sister Miryam the wife of K’lofah, and Miryam from Magdala.
26 When Yeshua saw his mother and the talmid whom he loved standing there, he said to his mother, “Mother, this is your son.”
27 Then he said to the talmid, “This is your mother.” And from that time on, the talmid took her into his own home. source
Mary the wife of Clopas, and Mary Magdalene. Talmid – Disciple
You see JESUS made sure He left His mother with a means of support after His death (and return to HEAVEN.)
He made sure she was taken care of.
And for the widow of Nain? He did this:
11 Soon afterward Jesus went with his disciples to the village of Nain, and a large crowd followed him.
12 A funeral procession was coming out as he approached the village gate. The young man who had died was a widow’s only son, and a large crowd from the village was with her.
13 When the Lord saw her, his heart overflowed with compassion. “Don’t cry!” he said.
14 Then he walked over to the coffin and touched it, and the bearers stopped. “Young man,” he said, “I tell you, get up.”
15 Then the dead boy sat up and began to talk! And Jesus gave him back to his mother. source
I don’t know about you but this is just one of the passages that let me know JESUS was/is PERFECT MAN and PERFECT GOD.