Q: In this task, you are given a question and a context passage. You have to answer the question based on the given passage.
How did the war the Egypt took part in worsen the econonmic situation of egyptian citizens?, Context: Nasser made Egypt fully independent of British influence, and the country became a major power in the developing world under his leadership. One of Nasser's main domestic efforts was to establish social justice, which he deemed a prerequisite to liberal democracy. During his presidency, ordinary citizens enjoyed unprecedented access to housing, education, jobs, health services and nourishment, as well as other forms of social welfare, while feudalistic influence waned. By the end of his presidency, employment and working conditions improved considerably, although poverty was still high in the country and substantial resources allocated for social welfare had been diverted to the war effort.
A:
resources allocated for social welfare had been diverted to the war effort