US President Barack Obama said Monday he had faith in the strategy for Afghanistan, after publication of a book by former defense secretary Robert Gates, which raised doubt on the matter.