If God is sovereign over all then I cannot boast of good works but neither can I boast of evil works for both are the work of God.?
This is not quite true. While God is sovereign over sin, somehow, He still holds sinners accountable.
My position is, as finite humans we cannot understand this. But the Bible teaches this (examples below), therefore, I am bound to beleive it. The litmus test over whether something is true is not whether or not I can understand it, but rather, if the Bible teaches it.
Take Joseph for example. His brothers sold him into slavery for sinful and selfish reasons. Yet Joseph's own testimony is that it was not his brothers who sent him to Egypt, but God.
Josephs understanding of his life is that God was in control of the whole thing. It was God's plan that Joseph be sold into slavery to Egypt, which allowed Joseph to rise to power and do much good and save many lives.
So while the brothers sinned (and were held accountable for it), it was still God's design all along.
The second example is Christ's crucifixion. We are told in Acts that "wicked men" are who betrayed and murdered Christ. nevertheless, we are told in Acts 4:27-28 that in doing so, they were merely carrying out "God's predestined plan"
So God was sovereign over the sin of murdering Jesus, but at the same time, God holds those men accountable for doing so. In some way, they are still morally responsible, even while God was sovereign over the whole thing.
I don't pretend to understand how this is possible, but I am bound to believe it, because the Bible teaches it. Our job is to believe and trust. God is always perfectly just and holy, therefore, he is just in punishing sinners, even when they are carrying out His decreed plan. We should never question God's justice or character. In doing so, we are making our own understanding of things the standard by which to measure God.
One thing that might help is to see a asymmetry here. Man's intentions in sinning and God's intentions in decreeing the sin are not symmetrical, but opposite.
Man's intentions in sinning are always evil and wicked, but in that same action, God's intentions in decreeing the sin are always holy, good, and righteous.
Man's intentions in selling Joseph into slavery were wicked and selfish, but God's intention in decreeing the sin was "To save many lives". Also, if you remember from the story of Joseph, Joseph eventually forgave his brothers and there was reconciliation there. A beautiful story that one can clearly see God was behind.
Man's intentions in murdering Jesus was wicked and evil, but God's intentions in decreeing the sin was salvation itself. God sacrificed his Son as an atonement for sin, so that He could save sinners.
So, when God decrees sin, it is for the complete opposite reasons that the man has when the man is the one carrying out the sinful activity. God's intentions and motives are pure, but man's intentions and motives are sinful.
And that is why God can judge and hold men accountable.