European countries wanted more wealth and power, and colonization helped in attaining those goals. For instance, countries could import/obtain more resources by colonizing a land rich in industrial materials, as well as gain a wider market for exporting mainland resources.
They were all part of Grant's Virginia campaign in 1864, when Union forces invaded Virginia with the objective of eventually capturing capturing Richmond,the Confederate capital.