⟩ Suppose if you join our company, and another company offers you more money, will you leave?
If you say yes, you will probably not get the job. If you want, you can tell them that the salary will make you happy and keep you with this company. For example, you might say something like, If I accept the job, then that means that I also accept the salary and I do not think I will leave. Concerning your length of employment longer is better. You may want to discuss that you want to stay at your next job as long as the relationship is mutually beneficial.