Php 2:12 Wherefore, my beloved, as ye have always obeyed, not as in my presence only, but now much more in my absence, work out your own salvation with fear and trembling.
Php 2:13 For it is God which worketh in you both to will and to do of his good pleasure.
Remember that God did not need to create you but did so so you could relate to Him and He could meet all your needs and joys so His purposes are directed towards this and He does all He can to help you get to heaven where they are in their fullest. That is why we are told by Jesus to seek God and the purposes of His Kingdom (Matt 6:33) as this will allow God's purposes to be expressed toward us. So we need to work at maintaining our side of the salvation relationship.
This means you will always trust that God is always working for your best so that you will never complain about what He is allowing to happen to you. You will trust His Love for you in whatever circumstances He allows to happen to you. He is Control of all your circumstances and Satan can do nothing to hinder Jesus in this.