A primitive root; properly, to snatch away, i.e. Terminate; but used only as denominative from caph (in the sense of a vestibule), to wait at the threshold -- be a doorkeeper.
KJV: For a day in thy courts is better than a thousand. I had rather be a doorkeeper in the house of my God, than to dwell in the tents of wickedness.
NASB: For a day in Your courts is better than a thousand outside. I would rather stand at the threshold of the house of my God Than dwell in the tents of wickedness.