Rambam describes how knowledge of God's truth leads to love, and thru love one achieves true happiness no matter what he or she must endure.