Wiktionary
stand someone in good stead
vb. (context idiomatic of something English) to come in handy for someone in the future