It all makes sense once you understand that the purpose of the FBI is not to uphold the law, but to protect the ruling class. The ruling class wanted Hillary to win.
Correct. Its not Hillary they were protecting, per se, rather, she represented the interest of the Beltway Deep State, our financial class, etc... Of course, the Clintons clawed their way up that greasy pole for 30 years, so they did what was necessary to put themselves at the center of the network.
In light of that, the question then becomes - how did Obama overcome the Clintons? The answer is that Obama was simply a better public story and narrative - a better media image. BUT as a precondition, he agreed to represent the exact same DC-Beltway deep state interests, which he did very well for them.
Exactly that's what is going on here.