The primary goal or purpose, of meditation, is to connect with God. Everything else, as you said, is frosting on the cake.