Walking in darkness refers to the“physical and spiritual living conditions“ of non-believers. Individuals who do not trust in Christ for their salvation. And we’re not cleansed of all unrighteousness.
You can identify them by their objectionable behavior and unjust actions. To God, all have sinned and fallen short of His glory. This means we have all walked in darkness at some point in life.