They were repulsed at Hispaniola by a strong Spanish force and decided to take Jamaica as a consolation prize.
Jamaica was taken as a secondary option to show strength.
Jamaica wasn't taken by the Spaniards.