Sin is more than a willful action against the commands of God; it is also neglecting what God requires.  The word of God is to train us in what is good; it trains us in deeds of mercy and acts of compassion.  It shows us right from wrong.   There is a right thing to do in every situation; it is to be prayerfully discerned. Sometimes it is hard to do the right thing because it may not be profitable or popular.  Those around us may want us to do what they want, the expedient thing.  Believers are called to do the right thing anyway.

“So whoever knows the right thing to do and fails to do it, for him it is sin” (James 4:17 ESV).