In The Empire Strikes Back, Yoda warns that Luke trying to rescue his friends might have bad consequences for the Rebellion:

"Decide you must, how to serve them best. If you leave now, help them you could; but you would destroy all for which they have fought, and suffered. "

Yoda also repeats a similar warning when Luke is about to leave:

Luke: And sacrifice Han and Leia?
Yoda: If you honor what they fight for? Yes.

While this thing seems to be ignored by the 'happy ending' of ROTJ, it's interesting that it sort of comes true in TFA. TFA seems to incorporate some of the original ideas for ROTJ that were ultiametly ditched when Lucas decided to focus on other projects in the 1980s and not continue past "Jedi"-That Han would die, Luke would go into some sort of search or exile on his own, and Leia would be left in charge of what was left of the rebellion, which seems to fit into Yoda's prophecy about things getting worse.

It's kind of a pyrhic victory in TFA. Yes, Luke is found (although it's unclear whether he'll help the resistance or just train Rey at this point) and starkiller is destroyed, but Han's dead, the First Order is out there with pretty much all their leaders intact (and possibly the rest of the Knights of Ren too), and the new Republic's capital system and fleet was destroyed (Although it's not really indicated how big either it or the First Order are). Given the Republic was presumabely formed out of the alliance (The resistance is sort of a splinter group of the Republic, not really a new 'rebel' group) that kind of sort of 'destroys' a lot of what Luke and co. accomplished in the original trilogy.

So does this kind of fufill Yoda's prophecy from that film?