Yes, it is true that the Marshall Plan was designed to keep Europe from falling to communism, but it was also meant to fight against the rise of dictators in general.
The marshall plan was an economic plan designed to deter western europe away from the seemingly attractive traits of communism in a period of vulnerability.