Romans 8:28 And we know that God causes all things to work together for good to those who love God, to those who are called according to His purpose.
God works in all things - not just isolated incidents - for our good. This does not mean that all that happens to us is good. Evil is prevalent in our fallen world, but God is able to turn every circumstance around for our long-range good. God is not working to make us happy, but to fulfill His purpose. This promise is not for everybody. It can be claimed only by those who love God and are called according to His purpose. Those who are called are those the Holy Spirit convinces and enables to receive Christ. Such people have a new perspective, a new mindset on life. They trust in God, not life's treasures; they look for their security in heaven, not on earth; they learn to accept, not resent, pain and persecution because God is with them.
Are you looking for what God is teaching you or making good, in your current circumstance?