Use the WooCommerce account page

Please try this PHP snippet

remove_action('wc_get_template', [ hivepress()->woocommerce, 'set_account_template' ], 10, 2 );