James 2:9

NIV
New International Version

9But if you show favoritism, you sin and are convicted by the law as lawbreakers.