The expression “which was to stand me in very good stead throughout my stay in the University” is an example of an idiom123. The idiom “stand someone in good stead” means that something will be of great use or benefit to someone123. In this context, it implies that whatever is being referred to has been or will be very useful or beneficial throughout the speaker’s time at the University.