The type of people who would overlook crimes by others because the company that the criminals worked for once paid them to give a speech & attend a mixer is probably not the type that would work at the SEC for any meaningful length of time. The pay disparity is just too great.
Malicious people work for the SEC just long enough to understand the inner workings and/or collect critical intel that they can leverage into private sector jobs.
If Yellen lacked scruples, she would have gone into the private sector after leaving the Fed. But instead of collection a probably 8-figure paycheck, she opted to continue to work in government. Which indicates to me, that she takes pride in doing her job well.