1 verses of the Douay-Rheims Bible (Challoner) have both "respect" and "sin".
James 2:9 But if you have respect to persons, you commit sin, being reproved by the law as transgressors.
In other translations: KJV WEB ASV Darby Webster