Hitlers sworn enemies wete the marxists who he thought were a jewish-freemasonic plot to dominate the world or something
He was, however, a socialist through and through. Mein Kampf is a testament to that, unless he wrote it only to later fool socialists.