Lentils and Beans?

Are lentils and beans okay for diabetics? I know low carb is important, but I heard that if it’s high fiber it allows more wiggle room to eat. I’m really low on money and trying to make affordable, low carb meals that isn’t just eggs. Are lentils and beans something that’s safe to eat a few times a week or should be avoided because they’re relatively high carb?