Complex sentence: Rick then asks what Gabriel did before that he is so ashamed of: he admits that when the outbreak occurred, he locked his entire congregation outside of the church, leaving them to been eaten by the walkers.
Split into simpler sentences: Rick then asks what Gabriel did before that he is so ashamed of. Gabriel admits that when the outbreak occurred, he locked his entire congregation outside of the church, leaving them to be eaten by the walkers.