Purity of heart means the control of the imagination and the rigorous care of the affections.
or simply: