Passage
if my commandments ye may keep, ye shall remain in my love, according as I the commands of my Father have kept, and do remain in His love;
if my commandments ye may keep, ye shall remain in my love, according as I the commands of my Father have kept, and do remain in His love;
John 15:8 `In this was my Father glorified, that ye may bear much fruit, and ye shall become my disciples.
John 15:9 According as the Father did love me, I also loved you, remain in my love;
John 15:10 if my commandments ye may keep, ye shall remain in my love, according as I the commands of my Father have kept, and do remain in His love;
John 15:11 these things I have spoken to you, that my joy in you may remain, and your joy may be full.
John 15:12 `This is my command, that ye love one another, according as I did love you;
The verse centers on "commandments", "keep", "shall", "remain", "love", "commands", "father", and "kept". It is saying that the verse draws attention to "commandments" and "keep", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 9's "According as the Father did love me..." into verse 11's "these things I have spoken to you...", so "commandments" and "keep" belong inside that flow. In John context, the local focus is the identity of Jesus, new birth, eternal life, and belief and unbelief.
A plain takeaway is to answer the verse's own emphasis on "commandments" and "keep" with trust shaped by these words, not by a vague optimism outside the passage.