How To Understand God’s Giving and Depriving?

If the blessing is taking me away from Allah, then it is not a blessing. It’s something I consider a bounty but is not a bounty; it’s something that is harmful to me. And if the harm is taking me closer to Allah, then it is not a harm, it is actually a gift.