As a general rule, government procurement rules require that contracts be awarded to the bid which demonstrates the best value for money and otherwise satisfies the conditions of participation.
The terms of any tender will set out specific evaluation criteria that will be considered in awarding a contract under that tender.
It is common for tender terms to give the government agency flexibility in awarding contracts. Tender terms will typically state that the lowest price bid will not necessarily be accepted and that the agency may exercise discretion to accept a non-compliant or alternate bid.