... that the action of the moon and sun upon the tides must have a tendency to retard the earth's rotation on its axis.

Please remove spaces between words.
...thattheactionofthemoonandsunuponthetidesmusthaveatendencytoretardtheearth'srotationonitsaxis.