There is pain and suffering everywhere - around us and within us. This is not so because it has been thus designed. It is so due to ignorance. Ignorance is certainly in the design but it is our choice that makes us weave it into the fabric of our lives or discard it like an ill-fitting piece of clothing.
Ultimately, WE are the architects of our own bondage.