I have no problem with the president encouraging himself.
David did in 1 Samuel 30:6
1 Samuel 30:6
“And David was greatly distressed; for the people spake of stoning him, because the soul of all the people was grieved, every man for his sons and for his daughters: but David encouraged himself in the LORD his God.”