Passage
When my father and my mother forsake me, then the LORD will take me up.
When my father and my mother forsake me, then the LORD will take me up.
Psalms 27:8 When thou saidst, Seek ye my face; my heart said unto thee, Thy face, LORD, will I seek.
Psalms 27:9 Hide not thy face far from me; put not thy servant away in anger: thou hast been my help; leave me not, neither forsake me, O God of my salvation.
Psalms 27:10 When my father and my mother forsake me, then the LORD will take me up.
Psalms 27:11 Teach me thy way, O LORD, and lead me in a plain path, because of mine enemies.
Psalms 27:12 Deliver me not over unto the will of mine enemies: for false witnesses are risen up against me, and such as breathe out cruelty.
The verse centers on "father", "mother", "forsake", "lord", and "take". It is saying that the verse draws attention to "father" and "mother", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 9's "Hide not thy face far from me..." into verse 11's "Teach me thy way O LORD and...", so "father" and "mother" belong inside that flow. In Psalms context, the local focus is worship, trust, the LORD's kingship, and covenant mercy.
A plain takeaway is to answer the verse's own emphasis on "father" and "mother" with trust shaped by these words, not by a vague optimism outside the passage.