No not at all, again you are fabricating facts, Israel was trying to avoid the conflict, and in fact all the territory was returned to Egypt, after a peace treaty was signed. 
Jordan which was illegally occupying Israeli land for 17 years was simply driven back, there was no territorial gain at all. Israel had Jordan on the run and could have easily captured Amman, but they stopped specifically because territorial gain was not their main objective at all.