Answer:
Reagan funded anti communists in Afghanistan, Angola and Nicaragua because the main goal of his foreign policy was to weaken the Soviet Union and Communism around the world. He took a more aggressive foreign policy stance than his predecessors: Jimmy Carter, Gerald Ford, and Richard Nixon.
These actions did not necessarily make American safer because they heightened the Cold War tensions that had been dwindling since the mid 1960s. However, because the Soviet Union and the communist world was becoming weaker, in the end, these actions paid off in some way, because shortly after Reagan's presidency, the Soviet Union, and several other communist countries collapsed.