If any person shall willfully and corruptly swear, affirm or declare falsely, in or by any oath, affirmation, declaration or affidavit, required to be made or taken by any statute of this state, or necessary or proper to be made, taken or used in any court of this state, or for any lawful purpose whatever, such person shall be deemed guilty of perjury and punished accordingly.
N.J.S. § 41:3-1