The US president has twisted the 1823 doctrine to suit his quest for domination. It originally had a very different vision for the Americas