Wikipedia definition:
"Liberalism is a political philosophy or worldview founded on ideas of liberty and equality. The former principle is stressed in classical liberalism while the latter is more evident in social liberalism. Liberals espouse a wide array of views depending on their understanding of these principles, but generally they support ideas and programs such as freedom of speech, freedom of the press, freedom of religion, free markets, civil rights, democratic societies, secular governments, and international cooperation."
Sure, anyone can write on Wikipedia, but if the main thing was to abandon morality, I bet it would be in there somewhere.
Sweden grew strong and free, and prosperous, with Socialism. When the politics started to move right, towards Liberalism*, things started to deteriorate, yes.
*(Not as simple as that, of course, I'm just having fun with Liberalism being right-wing over here, and that there isn't a dichotomy of anything in politics, as there are a number of different alternatives.)