You really need to make your question a lot more straightforward - and try using some punctuation!
If I have understood the gist, what you are asking is about the possible destinations of those who died before religions began to teach about the afterlife.
Most religious people would say that God would judge them according to their particular moral code at the time and whether they had lived up to it or not. God would not condemn people for not obeying religious rules which he had not yet given to them!
Islam teaches that all the Prophets before Muhammad should be regarded as Muslims (from Adam to Jesus). This, presumably, might also apply to those who believed and were true followers.
Christianity has an interesting answer to this question. The Catholic Church teaches that no-one could gain entry to heaven until Jesus' sacrificial death had paid the price for the sins of the world and he had risen from the dead. Those who died before Jesus could not, logically, go to heaven. The Church taught that everyone, good and bad, went to Limbo, which is a part of hell. The Apostles' Creed (statement of belief) describes Jesus as descending into hell after his death. The idea is that Jesus had to go to hell because he carried the burden of the sins of the world. Whilst there he is said to have preached to those in Limbo, and those who believed could then enter heaven when Jesus rose from the dead (see the Catechism on the Vatican's website). John Calvin gives a different interpretation here.
There will be many Christians who are not aware of this teaching, and many others who find it somewhat overcomplicated. Most would probably agree with the first answer given above.