How much and in which ways did unbridled self-interest contribute to the subprime lending crisis?

How much and in which ways did unbridled self-interest contribute to the subprime lending crisis? Almost everyone in the subprime mortgage meltdown was looking after their own narrow self-interest and not the board interest of their clients or the economy. What were the realistic ramifications of this behavior and how did it impact the American Public?