Child support payments made under a court order or written agreement made are generally not deductible by the payer.
This CRA page has more info: https://www.canada.ca/en/revenue-agency/services/tax/individuals/topics/about-your-tax-return/support-payments/what-amount-claim-report.html