(CNN) -- The United States will do what is necessary to see that justice is done to those who harm Americans, President Barack Obama said Wednesday after news that ISIS beheaded U.S. journalist James Foley. "We will do everything we can to protect our people" and the timeless values that the country stands for, Obama said.