If And Unrighteousness in the KJV
2 verses of the King James Version have both "if" and "unrighteousness".
Romans 3:5 But if our unrighteousness commend the righteousness of God, what shall we say? Is God unrighteous who taketh vengeance? (I speak as a man)
1 John 1:9 If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.