For a nation to prosper, it must Trade with its neighbors.
Which mean that they have to put an effort in producing goods/services that could be sell/exported to their neighboring nations. They will economically prosper if their exports scale outweigh their imports.
hope this helps