There were two motives for this:
Helping Europe to recover economically would provide markets for American goods, so benefiting American industry.
A prosperous Europe would be better able to resist the spread of communism. This was probably the main motive.