I don't know if you believe in the afterlife. You have been to Nanputuo Temple at the beginning of the month. Although you may not consciously have a great impression on Nanputuo Temple, in your sleep, the sight of the temple you saw during the day inspired your deep memory.
These memories may be composed of fragments of your past lives, or they may be enlightened by a bodhisattva. This shows that you believe in Buddhism, but you don't have to worry about becoming a monk or anything. Duke Zhou may be another explanation, but it is more real to interpret Buddha with Buddha.
Never mind whether it is a blessing or a curse. I believe that you are a kind and compassionate person, and you will be sheltered by Buddha and Bodhisattva. Also use this as a karma to learn Buddhism. Some things will be understood slowly.