This is the place:

I TIMOTHY 1:9-10


King James Version


(1 TIM 1:8) But we know that the law is good, if a man use it lawfully;
(1 TIM 1:9) Knowing this, that the law is not made for a righteous man,
but for the lawless and disobedient, for the ungodly and for
sinners, for unholy and profane, for murderers of fathers and
murderers of mothers, for manslayers,
(1 TIM 1:10) For whoremongers, for them that defile themselves with
mankind, for menstealers, for liars, for perjured persons, and
if there be any other thing that is contrary to sound
doctrine;


Joseph Smith Inspired Version

8 But we know that the law is good, if a man use if lawfully;
9 Knowing this, that the law is not made for a righteous man, but for the
lawless and disobedient, for the ungodly and for sinners, for unholy and
profane, for murderers of fathers and murderers of mothers, for manslayers,
10 For whoremongers, for them that defile themselves with mankind, for
men-stealers, for liars, for perjured persons, and if there be any other thing
that is contrary to sound doctrine;


The New American Standard Bible


8. But we know that the Law is good, if one uses it lawfully,
9. realizing the fact that law is not made for a righteous person, but for those who are lawless and rebellious, for the ungodly and sinners, for the unholy and profane, for those who kill their fathers or mothers, for murderers
10.and immoral men and homosexuals and kidnappers and liars and perjurers, and whatever else is contrary to sound teaching,


The Jerusalem Bible

8. We know, of course, that the Law is good, but only provided it is treated like any law,
9. in the understanding that laws are not framed for people who are good. On the contrary, they are for criminals and revolutionaries, for the irreligious and the wicked, for the sacrilegious and the irreverent; they are for people who kill their fathers and mothers and for murderers,
10. for those who are immoral with women or with boys or with men, for liars and for perjurers - and for everything else that is contrary to the sound teaching