All sums of money to be paid on any contract on behalf of the state, or any county, municipality or levee board thereof, when the provision of Section 75-21-15 had been violated, shall not be collectible, nor shall the same be paid by any officer or board having the payment thereof.
Miss. Code § 75-21-17