Copy the file “/plugins/woocommerce/templates/checkout/thankyou.php” to your theme or child theme (“/yourtheme/woocommerce/checkout/thankyou.php”).
And then you will find this code
esc_html__( 'Thank you. Your order has been received.', 'woocommerce' )
Change it to whatever you like.