Look at this website!! This guy has over
20 years of freshwater fishkeeping experience, and he says that all the fish I mentioned would do well in a 10 gal. Tank!!
https://www.tropicalfishcareguides.com/aquarium-fish/stocking-a-10-gallon-tank/
Lots to comment here. I have no idea what this individual's knowledge level may be; keeping fish for 20 years should give one some experience, but it does not mean one is doing it correctly or considering what is
best for the fish. One thing I can tell you from reading his site...he does
not have an accurate understanding of freshwater fish physiology and habitats.
The fact that "x" number of tetras can survive in a 10g tank does not mean they are thriving, nor that they should be there to begin with. Each species of freshwater fish has evolved over thousands of years to function at its optimum in a
very specific environment. Environment includes water parameters, the habitat features (substrate, wood, rock, plants, light, water flow, other species), and numbers (for a shoaling species). The fish "expects" these things to be a certain way, and as soon as they differ the fish will likely experience stress. It can be frustration, fear, nervousness, or whatever. Stress weakens the fish several ways, including deterioration of the immune system (which is why fish under stress come down with disease--95% of all fish disease is caused by stress in the presence of the pathogen, but it is stress that prevents the fish from fighting it off), increased aggression (sometimes the opposite), a higher metabolic rate which then further weakens the fish, etc.
Read the green and blue citations in my signature block; these are wisdom from very knowledgeable aquarists. It takes a lot of research to understand what a species requires, but then we must provide as close a replica as we can if we want healthy fish. Anything less is cruel to the fish, and we are in the wrong hobby if that is all we aim for.