How does responsibility relate to destiny?

Ahl al-Qibla, Sin and Faith, the Essence of Faith and Degrees of Believers