From the Wikipedia:
In June 2014, in his bid for re-election, Cantor lost the Republican primary to economics professor Dave Brat in an upset that surprised political analysts. In response Cantor announced his early resignation as House Majority Leader, and several weeks later, he announced his resignation from Congress, which took effect August 18, 2014. Immediately thereafter, Cantor accepted a position as vice chairman of investment bank Moelis & Company at a compensation of $3.4 million.[3] As the US House majority leader, Cantor earned an annual salary of $193,400.[4]
Cantor like many used his time in D.c.furthering his status instead of helping his constituants.
He got what he deserved.
Hopefully Ryan will meet the same fate at which time he too can bank his contacts.