EX-23 3 mara-20260630xex23.htm EX-23

Exhibit 23 

​

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

​

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (No. 333-257044, No. 333-265879, No. 333-290635 and No. 333-296618) of our report dated September 16, 2026, appearing in this Annual Report on Form 10-K of Marathon Bancorp, Inc. relating to the consolidated financial statements for the two years ended June 30, 2026.

​

​

​

/s/ Bonadio & Co., LLP

​

Pittsford, New York

​

September 16, 2026

​

​