If this dream person was God or His Son Jesus, you would know with certainty that is who it was. In the Bible, anyone who received a dream from the Almighty knew God was talking to him.
Please consider this explanation: King David wrote in Psalm 139:14 (CSB), "I have been remarkably and wondrously made." This means that the way God created people helps us to understand and thrive. God gave us a brain that does wonderful things during sleep. Science knows during sleep our minds are reviewing and consolidating our experiences. A dream represents our thoughts in symbols. So, your personal dream from your own experiences may be reminding you that God is directing, blessing, and comforting you.
The man may represent God's word, which you have already read or heard. These are the truths that comfort you. Recall these beautiful promises:
"My peace I give you… Do not let your hearts be troubled and do not be afraid," John 14:27 (NIV).
"Praise be to the God and Father of our Lord Jesus Christ, the Father of compassion and the God of all comfort, who comforts us in all our troubles," 2 Corinthians 1:3,4.
"The wisdom that is from above is first pure, then peaceable, gentle," James 3:17.
It seems reasonable that your heart and mind were symbolically reminding you that your Loving, Heavenly Father is always with you – comforting, protecting, and guiding your every experience.