Just adding to the other answers why encryption doesn't save you from further encryption.
Let's say your file only contains 4 letters, "abc4" (or just think of it as a simple String)
You encrypt that file with a very simple encryption that takes a "password" and then adds this to every character of your file. We take "3" as a password so our encryption method looks like this:
for (int i=0; i<file_length; i++){
file[i]=file[i]+3}
It adds 3 to every space in our file so "abc4" would become "def7"
The decrypt function for this would be the following (mind the - sign as we "revert" the encryption):
for (int i=0; i<file_length; i++){
file[i]=file[i]-3}
resulting in our initial string "abc4"
If now the ransomeware tries to encrypt your file, it doesn't really care if it's already encrypted or not. Taking the following encryption method for the ransomware:
for (int i=0; i<file_length; i++){
file[i]=file[i]*2}
your encrypted file (def7) would become "hjl14" (let's just say 10 comes after 9 in that format).
If you now try to decrypt "hjl14" with your method of subtracting everything by 3, you'd get "egi11" which would still be unreadable to you.