The greatest mercy of Allah ﷻ is to be prevented from sin. We must be happy we cannot do bad actions. Those who seek happiness in such things do not find it – until they ask forgiveness. Then, Allah ﷻ opens the door to His ﷻ forgiveness and they will be happy in dunyā and Ākhirah.