No, the Soviets invaded in 79. During the decades before, both the USA and the USSR were investing money in infrastructure and industry modernization projects in the country, trying to curry favor with the nation.
I quote from a humanitarian report[0]:
"""
Afghanistan‟s economy from the 1950s onward became closely intertwined with the Cold War. From
1953 to 1963 Afghanistan‟s Prime Minister Mohammed Daoud Khan had solicited military and
economic assistance from both the United States (US) and the Union of Soviet Socialist Republics
(USSR), believing that, without rapid growth, Afghanistan would become severely politically
fragmented. Often dubbed the “economic Korea”, the country received 50% of its foreign aid from
the Soviet Union between 1950 and 1970 and 30% from the United States during that same time
span.3 In the early 1960s Soviet investment targeted immense infrastructure projects including the
1964 completion of the Salang tunnel which greatly reduced travel time between northern
Afghanistan and Kabul. By 1967 the country had 1,200 miles of paved roads and a 25% increase in
power output.
I quote from a humanitarian report[0]:
"""
Afghanistan‟s economy from the 1950s onward became closely intertwined with the Cold War. From 1953 to 1963 Afghanistan‟s Prime Minister Mohammed Daoud Khan had solicited military and economic assistance from both the United States (US) and the Union of Soviet Socialist Republics (USSR), believing that, without rapid growth, Afghanistan would become severely politically fragmented. Often dubbed the “economic Korea”, the country received 50% of its foreign aid from the Soviet Union between 1950 and 1970 and 30% from the United States during that same time span.3 In the early 1960s Soviet investment targeted immense infrastructure projects including the 1964 completion of the Salang tunnel which greatly reduced travel time between northern Afghanistan and Kabul. By 1967 the country had 1,200 miles of paved roads and a 25% increase in power output.
"""
[0] https://reliefweb.int/sites/reliefweb.int/files/resources/AB...