Religion teaches morality

Re: Religion teaches morality

Does this sentence mean that before arrivals of Arabs in 8th century, sub-continent (which include Indus Valley Civilisation) was an immoral society?