How did buying Egypt and shares in the Suez Canal benefit Britain?

Britain never bought Egypt. Britain's influence over Egypt was mainly due to its military occupation and control of the Suez Canal.
Copyright Wanderlust World © https://www.ynyoo.com