You don't say how old you are. Children who start learning piano often don't have hands big enough to stretch an octave easily. For adults, it's possible the problem is simply that your hand isn't flexible enough yet. An "average sized" adult keyboard player would be able to stretch a 9th or 10th (one or two keys more than an octave) without any problems.
You also say this is a problem with your left hand - if you are right handed, and you can stretch an octave with your right hand, that also suggests it's more about flexibility than just size.
Try playing just the lower note of the octave with your left hand. If the left hand is a mixture of octaves and smaller intervals that you can reach, it might sound better if you only play the bottom note of the smaller intervals as well - just experiment.
There are collections of studies and exercises written for students who can't stretch octaves - for example https://imslp.org/wiki/25_Etudes_faciles_et_progressives%2C_Op.100_(Bertini%2C_Henri) and https://imslp.org/wiki/32_%C3%89tudes_faciles_et_sans_octaves%2C_Op.315_(Battmann%2C_Jacques-Louis). Try Googling "piano studies without octaves" to find more. Pieces like that will help to develop your playing skills without over-stretching your hands, and you will probably find that after a while you can stretch octaves comfortably.
Final warning - DON'T try to fix this "problem" with "stretching exercises," unless you are being taught by somebody who understands what they are asking you to do! Playing keyboards is perfectly safe, but if keep trying to do things that are physically too hard for you, it is possible to permanently damage your hands. Don't go there - in particular, if attempting to play something hurts you, then stop trying.