Warning: Spoilers follow
The duo go about this by nominally convincing people to give their spare bedrooms to the homeless, but as their next scheme comes around, "reversal" (being good to people one has been not good to in the past), this proves to be fruitless and thus David gives up his strivings and his plans for a book on how to be good, appropriately named "How to be Good".