He likes being Speaker of the House of Representatives. He would like to continue to be Speaker of the House of Representatives. But being Speaker of the House of Representatives means both leading the House Republicans and compromising to get things done. And in this Republican Party, at this moment, if you want to lead the House Republicans, you can’t compromise to get things done.
In order to produce a bill that his caucus will support, Boehner has to make that bill poisonous to Democrats. So the only kind of bill that this group of Republicans will agree to pass is one that Democrats in Congress will never agree to pass.