By requiring a performance bond
https://sites.google.com/view/swiftbond/performance-bonds/under-what-conditions-can-a-surety-cancel-or-terminate-a-performance-bond
By requiring a performance bond, project owners can ensure that contractors have sufficient backing or resources to complete their work successfully