1 verses of the World English Bible have both "if" and "lawfully".
1 Timothy 1:8 But we know that the law is good if a person uses it lawfully,
In other translations: KJV ASV YLT Darby Webster DRC Geneva