Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the reference to our firm under the caption “Experts” and to the use of our report dated September 30, 2021, with respect to the consolidated financial statements of Allego Holding, B.V. included in this Registration Statement on Form F-4 and the related Prospectus of Athena Pubco B.V.

/s/ Ernst & Young Accountants LLP

Amsterdam, Netherlands

December 14, 2021