James 4: 6-10:
6 God resisteth the proud, but giveth grace unto the humble.
7 Submit yourselves therefore to God. Resist the devil, and he will flee from you.
8 Draw nigh to God, and he will draw nigh to you. Cleanse your hands, ye sinners; and purify your hearts, ye double minded.
9 Be afflicted [and humbled], and mourn [your sins], and weep [over your wrong-doings]: let your [sinful] laughter be turned to mourning, and your joy [in wickedness] to heaviness.
10 Humble yourselves in the sight of the Lord, and he shall lift you up.