"Pagan" has several meanings, and you would need to consider the context to determine which. It can mean any follower of a non-Christian religion, a coarse or uncultured person (slang), an irreligious person, or a follower of the specific "pagan" (druidic) religion. In Scripture, it means a person who is neither a Christian nor a Jew. Most people who were neither were still religious in some way.