I think the message of the psalm means that God will always show you the way.
In the first line of the passage it says, “my father and mother walked out and left me, but God took me in.” This means that even if everything is going wrong you can turn to God to show the way.
A way that I relate to this is when you are in school and having trouble with something and your teacher leaves you. You don’t know what to do because they won’t help you.
But, you can turn to God. He will always help when you are in trouble. Some teachers will do this. But other teachers will help you whenever you are having trouble. They are acting like God in this situation.