Micah Richards believes the departure of Raheem Sterling will help build Jack Grealish's confidence at Manchester City.