10W speaker with LM386?
You don't have a problem. You can connect a speaker that can handle 10W to an LM386 which can only output 1W.
The speaker is rated 4 ohms which is compatible with the 4 ohm recommendation of the  LM386 you use.
The speaker power rating will not be exceeded by the LM386.