This is Advaita Vedanta[1], more or less, except the Hindus would say that the You in the story is just the I that has forgotten what it is, and also the I is all that exists. You can listen to Alan Watts sum it all up concisely as lo-fi hip-hop.[2]
Advaita Vedanta makes no distinction between god and yourself.
Advaita means non-dual. There is no one else except the unmanfiest god of which you are a manifest form.
There a very nice class on the Bhagwan Gita under the context of advaita Vedanta[1] by the vedanta society of New York. I’d suggest listening to it for people interested in the subject.
[1] https://en.wikipedia.org/wiki/Advaita_Vedanta
[2] https://www.youtube.com/watch?v=DhbAzFw-7xg