Hi Brittney,
the main goal and only goal to construct the Panama Canal was to connect the Atlantic with the Pacific oceans and cut the transit time of ships but not going around South America.
Shorten transit time for ships to travel from east to west.