He did not endorse her - he made a statement of the obvious.
I do not think that it is obvious that Hillary has had experience to be the President of the United States just because she was married to Bill. If the President really did say this, then he made a mistake. We can’t afford to make too many mistakes like this unless we wouldn’t mind seeing Hillary back in the White House.