Romans 12:2 Do not conform to the pattern of this world, but be transformed by the renewing of your mind. Then you will be able to test and approve what God’s will is – his good, pleasing and perfect will.
Just because we live in a corrupt world does not mean that we have to live by those corrupt rules!
God has given each of us a beautiful mind that can discern many things. For some that mind is much more able than others, but to each of us He has given what we need to learn from Him.
It is hard to understand God’s ways, but by listening to Him we can continue to learn how best to approach the sinful world we live in. It is a case of listening though because the world can be very loud!