The Ramchal teaches that goodness is the reason that G-d created the world, to give of His goodness to another (human).
But he also wrote: Man was created for the sole purpose of rejoicing in G-d and deriving pleasure from the splendor of His presence; for this is true joy and the greatest pleasure that can be found.
I know pleasure is something good or enjoyable, but how does the goodness that G-d bestows result in receiving pleasure?
And how is this related to working for achieving deveikut? Closeness to G-d as the most good and pleasureable thing?
(As taught in a number of places, G-d created the world in order to give pleasure to His creations and bestow Divine Goodness upon them - see Etz Chaim, Shaar HaKlalim 1; Mesilat Yesharim 1; Derech Hashem 1:2:1.)