The Millennium Challenge Corporation gives grants to countries that show a commitment to good governance , economic freedom and the elimination of extreme poverty .