Modify the sentence to remove all grammar problems.
With ageing countries directing much attention to the aged, for instance, spending large sums of money on hiring healthcare workers and on the latest medical technology, there will be lesser investments made in other areas like military, tourism, education and research and development.
With aging countries directing much attention to the aged, for instance, spending large sums of money on hiring healthcare workers focusing on the latest medical technology, there will be lesser investments made in other areas like military, tourism, education, and research and development.