Luke 12:11 And when they bring you unto the synagogues, and unto magistrates, and powers, take ye no thought how or what thing ye shall answer, or what ye shall say: Luke 12:12 For the Holy Ghost shall teach you in the same hour what ye ought to say.
When dangerous times come, from the Pharisees and lawyers, from enemies of God, do not worry or rehearse what to say. God's Holy Spirit goes with you and will teach you what to say. Our words are not inspired, His words are. When brought to trial and you are innocent, when being persecuted for Christ Jesus' sake, let Him speak truth to you through the Spirit of truth.
John 16:13 Howbeit when he, the Spirit of truth, is come, he will guide you into all truth: for he shall not speak of himself; but whatsoever he shall hear, that shall he speak: and he will show you things to come.
John 16:14 He shall glorify me: for he shall receive of mine, and shall show it unto you.
The battles that come because of our connection to God, are spiritual battles, that need the sword of the Spirit, the inspired word of God through you in time of need. Some of what comes to us is through our own doing, we also should receive the truth if we have failed to obey the law.
1 Pet 3:17 For it is better, if the will of God be so, that ye suffer for well doing, than for evil doing.
1 Pet 3:18 For Christ also hath once suffered for sins, the just for the unjust, that he might bring us to God, being put to death in the flesh, but quickened by the Spirit:
1 Pet 3:19 By which also he went and preached unto the spirits in prison;