The first psalm declares that the righteous man is one who “walks not in the counsel of the ungodly, nor stands in the path of sinners, nor sits in the seat of the scornful; but his delight is in the law of the Lord, and in His law, he meditates day and night” (vv. 1-2).
The apostle Paul echoes this truth in Ephesians when he writes, “Therefore do not be partakers with them…And have no fellowship with the unfruitful works of darkness, but rather expose them” (Ephesians 5:7, 11).
Just as the righteous man of Psalm 1 does not walk, stand, or sit with evildoers and their empty words, the children of God are not partakers of the lifestyle of the sons of disobedience (v. 7); they have no fellowship with the unfruitful works of darkness (v. 11).
To walk in love for God and your neighbor you do not participate in a life of uncleanness.
To walk as a child of light, you do not share company with the works of darkness. Instead, you expose them through reproof.