Consent of Independent Registered Public Accounting Firm
Spirit of Texas Bancshares, Inc.
We hereby consent to the incorporation by reference in the Registration Statements on Form S-3 (No. 333-232092) and Form S-8 (No. 333-228169) of Spirit of Texas Bancshares, Inc. of our report dated March 7, 2022, relating to the consolidated financial statements, which appears in this Form 10-K.
/s/BDO USA, LLP
March 7, 2022