The Cave - 18:77 "So they walked on. Finally they came to a village and asked its people for food. But they refused to receive them as guests. Then they found a wall there that wanted to fall down, and he immediately straightened it. He said: "If you had wished, you could have received a wage for that work."
In the context of verses 67, 68...82: "What man thinks is good may be bad and what he thinks is bad may be good."
The Cow/2:216 War has been made obligatory upon you though you dislike it. What you dislike may be good for you and what you like may be bad for you. Allah knows, even if you do not know.

The Women/4:19 Believers! It is not lawful for you to inherit the property of women against their wishes. Do not press them to take back from them what you have already given them. Except when they commit fornication. Get along well with them. If you dislike them, Allah has put much good in what you dislike.

The Night Journey/17:11 When man thinks he is praying for something good, he is actually praying for something bad. Man is very hasty

The Light/24:11 A gang of you invented that slander. Do not think that it is bad for you; rather it is a good (lesson) for you. By the way, every one of them has shared the sin. And those of them who are the ringleaders deserve a great punishment.