The best answer to this question is Franklin Roosevelt.
Roosevelt came to office with a whole host of ideas about how to fight the Great Depression only to have the Supreme Court strike many of those downs.
FDR kept trying and was eventually successful.