1Ti 1:8 Now we know that the law is good, if one uses it lawfully,Excellent. This is why Paul said, "Knowing this (the Gospel) that the law is not made for the righteous man (Christians) 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, For whoremongers, for homosexuals, for menstealers, for liars, for perjured persons, and if there be any other thing that is contrary to sound doctrine" 1 Timothy 1:9-10.
1Ti 1:9 understanding this, that the law is not laid down for the just but for the lawless and disobedient, for the ungodly and sinners, for the unholy and profane, for those who strike their fathers and mothers, for murderers,
1Ti 1:10 the sexually immoral, men who practice homosexuality, enslavers, liars, perjurers, and whatever else is contrary to sound doctrine, (ESV)
"Knowing this" is not referring to the gospel. It is first connected to the "one" mentioned in verse 8 and clearly refers to what everything that follows.
And here is what follows in chapter 2:
1Ti 2:1 First of all, then, I urge that supplications, prayers, intercessions, and thanksgivings be made for all people,
1Ti 2:2 for kings and all who are in high positions, that we may lead a peaceful and quiet life, godly and dignified in every way.
...
1Ti 2:8 I desire then that in every place the men should pray, lifting holy hands without anger or quarreling;
1Ti 2:9 likewise also that women should adorn themselves in respectable apparel, with modesty and self-control, not with braided hair and gold or pearls or costly attire,
1Ti 2:10 but with what is proper for women who profess godliness—with good works.
1Ti 2:11 Let a woman learn quietly with all submissiveness.
1Ti 2:12 I do not permit a woman to teach or to exercise authority over a man; rather, she is to remain quiet.
Chapter 3:
Ti 3:1 The saying is trustworthy: If anyone aspires to the office of overseer, he desires a noble task.
1Ti 3:2 Therefore an overseer must be above reproach, the husband of one wife, sober-minded, self-controlled, respectable, hospitable, able to teach,
1Ti 3:3 not a drunkard, not violent but gentle, not quarrelsome, not a lover of money.
1Ti 3:4 He must manage his own household well, with all dignity keeping his children submissive,
1Ti 3:5 for if someone does not know how to manage his own household, how will he care for God's church?
1Ti 3:6 He must not be a recent convert, or he may become puffed up with conceit and fall into the condemnation of the devil.
1Ti 3:7 Moreover, he must be well thought of by outsiders, so that he may not fall into disgrace, into a snare of the devil.
1Ti 3:8 Deacons likewise must be dignified, not double-tongued, not addicted to much wine, not greedy for dishonest gain.
1Ti 3:9 They must hold the mystery of the faith with a clear conscience.
1Ti 3:10 And let them also be tested first; then let them serve as deacons if they prove themselves blameless.
1Ti 3:11 Their wives likewise must be dignified, not slanderers, but sober-minded, faithful in all things.
1Ti 3:12 Let deacons each be the husband of one wife, managing their children and their own households well.
1Ti 3:13 For those who serve well as deacons gain a good standing for themselves and also great confidence in the faith that is in Christ Jesus.
Chapter 4:
1Ti 4:7 Have nothing to do with irreverent, silly myths. Rather train yourself for godliness;
1Ti 4:8 for while bodily training is of some value, godliness is of value in every way, as it holds promise for the present life and also for the life to come.
1Ti 4:9 The saying is trustworthy and deserving of full acceptance.
1Ti 4:10 For to this end we toil and strive, because we have our hope set on the living God, who is the Savior of all people, especially of those who believe.
1Ti 4:11 Command and teach these things.
1Ti 4:12 Let no one despise you for your youth, but set the believers an example in speech, in conduct, in love, in faith, in purity.
1Ti 4:13 Until I come, devote yourself to the public reading of Scripture, to exhortation, to teaching.
1Ti 4:14 Do not neglect the gift you have, which was given you by prophecy when the council of elders laid their hands on you.
1Ti 4:15 Practice these things, immerse yourself in them, so that all may see your progress.
1Ti 4:16 Keep a close watch on yourself and on the teaching. Persist in this, for by so doing you will save both yourself and your hearers.
Chapter 5:
1Ti 5:1 Do not rebuke an older man but encourage him as you would a father, younger men as brothers,
1Ti 5:2 older women as mothers, younger women as sisters, in all purity.
1Ti 5:3 Honor widows who are truly widows.
1Ti 5:4 But if a widow has children or grandchildren, let them first learn to show godliness to their own household and to make some return to their parents, for this is pleasing in the sight of God.
1Ti 5:5 She who is truly a widow, left all alone, has set her hope on God and continues in supplications and prayers night and day,
1Ti 5:6 but she who is self-indulgent is dead even while she lives.
1Ti 5:7 Command these things as well, so that they may be without reproach.
1Ti 5:8 But if anyone does not provide for his relatives, and especially for members of his household, he has denied the faith and is worse than an unbeliever.
1Ti 5:9 Let a widow be enrolled if she is not less than sixty years of age, having been the wife of one husband,
1Ti 5:10 and having a reputation for good works: if she has brought up children, has shown hospitality, has washed the feet of the saints, has cared for the afflicted, and has devoted herself to every good work.
1Ti 5:11 But refuse to enroll younger widows, for when their passions draw them away from Christ, they desire to marry
1Ti 5:12 and so incur condemnation for having abandoned their former faith.
1Ti 5:13 Besides that, they learn to be idlers, going about from house to house, and not only idlers, but also gossips and busybodies, saying what they should not.
1Ti 5:14 So I would have younger widows marry, bear children, manage their households, and give the adversary no occasion for slander.
1Ti 5:15 For some have already strayed after Satan.
1Ti 5:16 If any believing woman has relatives who are widows, let her care for them. Let the church not be burdened, so that it may care for those who are truly widows.
1Ti 5:17 Let the elders who rule well be considered worthy of double honor, especially those who labor in preaching and teaching.
1Ti 5:18 For the Scripture says, “You shall not muzzle an ox when it treads out the grain,” and, “The laborer deserves his wages.”
1Ti 5:19 Do not admit a charge against an elder except on the evidence of two or three witnesses.
1Ti 5:20 As for those who persist in sin, rebuke them in the presence of all, so that the rest may stand in fear.
1Ti 5:21 In the presence of God and of Christ Jesus and of the elect angels I charge you to keep these rules without prejudging, doing nothing from partiality.
1Ti 5:22 Do not be hasty in the laying on of hands, nor take part in the sins of others; keep yourself pure.
1Ti 5:23 (No longer drink only water, but use a little wine for the sake of your stomach and your frequent ailments.)
1Ti 5:24 The sins of some people are conspicuous, going before them to judgment, but the sins of others appear later.
1Ti 5:25 So also good works are conspicuous, and even those that are not cannot remain hidden.