Believers understand that this life is not perfect. They are the obedient servants of Allāh ﷻ, and not the other way around. That is why Prophet ﷺ said everything that happens is good for the believers. We don't need material perfection. We only need to ask forgiveness, and come to the House of Peace.