how bitcoin reject invalid transaction? (with createrawtransaction) i'm studying 'Mastering Bitcoin' and have a questions,

in this book, we can send coin to other wallet by createrawtransaction but there is no enough secure method.

we can find other's wallet addresses at https://www.blockchain.com. and unused coin value too.

for example - https://www.blockchain.com/en/btc/address/34bN2MQcqA4JpbEVRU9KBsvhXgSEHQrqBz


  718ae88f0eb13d2f2d3bc74cbf18721a82739b80f1bfc0658ed699263fca76fd(Fee:
  0.00002057 BTC - 3.11 sat/WU - 8.33 sat/B - Size: 247 bytes) 2019-01-14 04:57:04 34bN2MQcqA4JpbEVRU9KBsvhXgSEHQrqBz (1.13215222 BTC
  - Output) 32T5urH6uN4jhKenhW4LWM66WouzSCERbA - (Spent) 0.03213165 BTC 3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw - (Unspent) 1.1 BTC


than we can make fake transaction such as


  $bitcoin-cli createrawtransaction '[{"txid" :
  "718ae88f0eb13d2f2d3bc74cbf18721a82739b80f1bfc0658ed699263fca76fd","vout":0}]'
  ' {"MY WALLET ADDRESS": 1.0, "3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw":
  fee}'


in conclusion, it doesn't works but i want know why this code not working
in conclusion, it doesn't works but i want know why this code not working


This part {"MY WALLET ADDRESS": 1.0, "3LnZGyRAeCA3LAMBU2RSQn6dAkHw8rWquw": fee} will throw an error, but the more general answer about security is: 

You can only generate a valid transaction if the wallet file you have open contains the private keys that can sign the transaction you've made. If you can't produce a valid signature, then it will not be a valid transaction, and the network will not relay or confirm it.