It's not just somewhat out of context, it's completely out of context. Both Yoda and Obi-Wan tried to stop the Sith and failed, if they hadn't gone into hiding afterwards they wouldn't have been around to train Luke and who the hell knows how long the Sith would have reigned over the galaxy...