Where did the dead go before Jesus was born?

The Church says that Jesus was the one who opened the gates to Heaven so that people may enter but where did the dead go when Jesus had not opened the gates to Heaven yet?
16 answers 16