Washington — President Barack Obama wants America to know this: he did the right thing.

He may harbor frustration and even anger that the nation’s polarization and the geopolitics of a volatile world thwarted him in many ways, but he won’t spend his looming retirement stewing in regret.