Jesus shows his great power and mercy by raising girl from the dead and healing a woman who had been in bad health for 12 years. But he could not have been a Godly man, a prophet, or even a good man if he was a mere man who accepted worship. By accepting worship, Jesus is saying he is God. By healing these two, he shows he is from God.
New King James Version (NKJV)
A Girl Restored to Life and a Woman Healed
18 While He spoke these things to them, behold, a ruler came and worshiped Him, saying, “My daughter has just died, but come and lay Your hand on her and she will live.” 19 So Jesus arose and followed him, and so did His disciples.
20 And suddenly, a woman who had a flow of blood for twelve years came from behind and touched the hem of His garment. 21 For she said to herself, “If only I may touch His garment, I shall be made well.” 22 But Jesus turned around, and when He saw her He said, “Be of good cheer, daughter; your faith has made you well.” And the woman was made well from that hour.
23 When Jesus came into the ruler’s house, and saw the flute players and the noisy crowd wailing, 24 He said to them, “Make room, for the girl is not dead, but sleeping.” And they ridiculed Him. 25 But when the crowd was put outside, He went in and took her by the hand, and the girl arose. 26 And the report of this went out into all that land.