This was called Manifest Destiny.
During the 19th century, America thought it was its destiny to spread all over the continent, take everything away from Native Americans and spread its democratic views to everyone else because it was 'the right thing to do.'