James 4:8-10 NAS

8 1Draw near to God and He will draw near to you. 2Cleanse your hands, you sinners; and 3purify your hearts, you 4double-minded.
9 5Be miserable and mourn and weep; let your laughter be turned into mourning and your joy to gloom.

References for James 4:9

10 6Humble yourselves in the presence of the Lord, and He will exalt you.

References for James 4:10