Both compassion and joy arise when we look closely at impermanence and the patterns of dukkha that keep us stuck in reactivity. Because when we see these patterns deeply, we know how often we are all caught in this way. So compassion naturally arises, along with joy in knowing that we can see clearly and know a way to freedom.