This is what I tried: sed -i \'s/^.*/\"$&\"/\' myFile.txt
sed -i \'s/^.*/\"$&\"/\' myFile.txt
It put a $ at the beginning of every line.
You almost got it right. Try this slightly modified version:
sed 's/^.*$/"&"/g' file.txt