"walking like the world" is believing that we can by our own self-effort obtain righteousness and life. It comes in many forms. Lawlessness is one of the forms.
True lawlessness is the working of iniquity which shows itself in trying to maintain our own righteousness by what we do or don't do - instead on relying on what Christ has already done and living from His life in and through us.
Walking like the world is very specific in biblical terms.
The acts of the flesh are obvious: sexual immorality, impurity and debauchery; idolatry and witchcraft; hatred, discord, jealousy, fits of rage, selfish ambition, dissensions, factions and envy; drunkenness, orgies, and the like. I warn you, as I did before, that
those who live like this will not inherit the kingdom of God.
Gal 5:19-21
But the fruit of the Spirit is love, joy, peace, forbearance, kindness, goodness, faithfulness, gentleness and self-control. Against such things there is no law. Those
who belong to Christ Jesus have crucified the flesh with its passions and desires.
Gal 5:22-24
The continual drip drip of being righteous in behaviour is evil, is just the enemies propoganda.
Evil is evil behaviour as described as works of the flesh.
Righteous behaviour is walking in the Spirit and displaying the fruits of the Spirit.
We are saved through faith, which is displayed by our righteous behaviour.
If a believer lives in the ways of the flesh they will never inherit the kingdom of God.
The lie being preached is belief saves and behaviour is irrelevant, but as Paul says
"I warn you, as I did before"
those who live like this will not inherit the kingdom of God"
Here we are years later, still people deny Pauls warning and obvious teaching.
Why is this? Because they have believed a lie and are deceived by the enemy.