Learn to knit. Be patient. Your might be rather disappointed with the results you achieve with your first projects. I certainly was with mines. How passionate you are about knitting and how much time and money you want to invest in acquiring this skill is up to you. But time and money it will take. How much money you end up spending mostly depends on your budget, but time is likely to be your largest investment. You will still be a beginner knitter after one or two years of knitting.
Up until 60 years ago, it was cheaper to knit a garment than to buy one. It isn’t the case anymore. So if your aim in learning to knit is to spare money, be aware that this unlikely to happen. Time is money, remember ?
Nevertheless, some companies sell yarn at a very very low price tag. Stay away from them as a total beginner. These yarns are of an extremely poor quality and poor quality yarn is difficult to knit with. For your first projects, purchase yarn that is of a large yarn brand quality, it could be acrylic, it could be wool, it should be at least around 4 EUR/ 4.20 USD/ /3.50 GBP for 50g. For a single skein that is. Instead of wool, you could pick up a plant-based fibre such as cotton, bamboo or viscose. But these yarns are not the most beginner-friendly. If you want to learn to knit, give it a fair try. If you only buy the cheapest of the cheapest of yarn, keep in mind that you are knitting with a yarn that is especially difficult to knit with. The kind of yarn even experienced knitters have trouble creating something reasonably good-looking with.