This NPR article puts it in perspective. Indeed, the US is not among the top gun-death countries in the world. However, when you look at the countries with higher death rates, you do not find any of the prosperous countries. They include countries like El Salvador, Columbia, Venezuela and other Latin American countries, as well as a few African countries. Middle Eastern countries (except Iraq), notorious for their internal conflicts, rank below the US.
Wikipedia lists a similar table, which breaks down how the shooting occurred. Unfortunately the page seems to have been put up by Gunpolicy.org so there may be biases there. These issues are listed at the top of the Wikipedia page. Gunpolicy lists the US as number 20, so their conclusion is similar to NPR's: yes, a lot of countries rank higher, but the US stands out among its peers; no prosperous country outranks the US; countries with living standards similar to the US all have much lower gun-death rates.
The same picture is shown at WorldAtlas: the US is at the top of the prosperous countries. Above it are mostly Latin American countries