Inheritance

Spouse and I are set to come into an inheritance of about $300K. Looking for ideas on how best to proceed. Young family. We’re in our late -30s. No debt other than $400K mortgage. Will each have defined benefit pension. $10K emergency fund set up. Plan to max out our TFSA (approx $160K). What would you do with the rest?