An employee working in a job applied to take a competitive exam for another job. The registration was done electronically, and there was a statement that said: "I declare on my honor that I do not hold any job or position, nor do I engage in any profitable activity." It is worth mentioning that he stated this and was accepted by the institution, is it permissible for him to make this statement, and what is the ruling of Sharia on his salary?