Willfor, that would be a pretty accurate assumption if it really applied to every soldier. Basic training and the early portions of a military career are indeed intended to change a soldier's thinking to some degree to adapt to the demands of the military, but really, after a while when soldiers demonstrate that they can perform well, they are given more responsibility and treated more like rational accountable adults and you can say that they are 'deprogrammed' to a degree. Collective punishment is very rare and actually discouraged in the operational military. These are also the soldiers that are the leaders making decisions. Should be noted that officers have little of "brainwashing" to the degree you describe. Whoever you quoted is probably a very new, junior soldier.
That said there is a cultural divide between military, mostly because civilians really do not have any idea what the military is like. Soldiers getting out of the military struggle to find jobs largely because of stereotypes of the sort that you are making, that they are brainwashed or they all have PTSD or psychological trauma and think they will probably flip out and knife the deep-fry kid if he is hired. Really, the cultural divide is overstated, the values the military likes are similar to civilian values, hard work, personal accountability, honesty, integrity, ect.
Anyways, I'm not really sure any analysis of US or western militarizes is accurate for the military of Egypt. Middle easterners, culturally, do not respond well to western training styles. They tend to get extremely offended if you even suggest that they have failed in some way or need improvement, or are even disciplined. Alot of these incidents you read about in the news of Iraqi or Afghan soldiers killing their western trainers is more because of bruised egos and arguments from western training styles then any sympathy or allegiance for their enemies.