To live in the spirit, the first thing you have to learn is to conquer yourself. You have to have control over your mind, will and emotions. Without this, you can never live from the fullness of the spirit. Jesus is our great example. In the wilderness, in the weakness of His flesh, the devil tempts Him. The devil comes when it’s the most opportune time to take you out. Paul learned this. How can a man be beaten, thrown in jail, then sing songs and hymns to the Lord? Paul learned to get over himself. You don’t hear Peter complain when he was thrown in jail. An angels comes and gets him out of prison. This is a different Peter. Before the Holy Spirit came upon him in Pentecost and was filled with the Holy Spirit, he was a totally different person on how he reacted. The evidence of someone living in the spirit is its fruit.

Acts 16:23 And when they had laid many stripes on them, they threw them into prison, commanding the jailer to keep them securely. 24 Having received such a charge, he put them into the inner prison and fastened their feet in the stocks. 25 But at midnight Paul and Silas were praying and singing hymns to God, and the prisoners were listening to them26 Suddenly there was a great earthquake, so that the foundations of the prison were shaken; and immediately all the doors were opened and everyone’s chains were loosed.

Acts 12:1 Now about that time Herod the king stretched out his hand to harass some from the church. Then he killed James the brother of John with the sword. And because he saw that it pleased the Jews, he proceeded further to seize Peter also. Now it was during the Days of Unleavened Bread. So when he had arrested him, he put him in prison, and delivered him to four squads of soldiers to keep him, intending to bring him before the people after Passover. Peter was therefore kept in prison, but constant prayer was offered to God for him by the church. And when Herod was about to bring him out, that night Peter was sleeping, bound with two chains between two soldiers; and the guards before the door were keeping the prison. Now behold, an angel of the Lord stood by him, and a light shone in the prison; and he struck Peter on the side and raised him up, saying, “Arise quickly!” And his chains fell off his hands. Then the angel said to him, “Gird yourself and tie on your sandals”; and so he did. And he said to him, “Put on your garment and follow me.” So he went out and followed him, and did not know that what was done by the angel was real, but thought he was seeing a vision. 10 When they were past the first and the second guard posts, they came to the iron gate that leads to the city, which opened to them of its own accord; and they went out and went down one street, and immediately the angel departed from him.

When you live in the spirit and things come against you, its all about how you respond. If this is in the forefront of your mind, then you are living in the spirit.

1 Thessalonians 4:1 Finally then, brethren, we urge and exhort in the Lord Jesus that you should abound more and more, just as you received from us how you ought to walk and to please God; 2 for you know what commandments we gave you through the Lord Jesus. 3 For this is the will of God, your sanctification: that you should abstain from sexual immorality; 4 that each of you should know how to possess his own vessel in sanctification and honor, 5 not in passion of lust, like the Gentiles who do not know God; 6 that no one should take advantage of and defraud his brother in this matter, because the Lord is the avenger of all such, as we also forewarned you and testified. 7 For God did not call us to uncleanness, but in holiness.

Galatians 5:22 But the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, 23 gentleness, self-control; against such things there is no law.

Acts 24:24 And after some days, when Felix came with his wife Drusilla, who was Jewish, he sent for Paul and heard him concerning the faith in Christ. 25 Now as he reasoned about righteousness, self-control, and the judgment to come, Felix was afraid and answered, “Go away for now; when I have a convenient time I will call for you.”