Is treasury bills better than the stock market?

If you prefer safety and you're willing to settle for less, then they are better.

Treasury bills can give you a fixed amount of profit and are guaranteed. The stock market is a rollercoaster, it's risky, but you can get a higher profit if you're smart and lucky.

The profit is the reward for taking the risk, it depends on you how much are you willing to risk.

I have invested in treasury bills before and i have invested on the stock market before too,i and based on my experience with them i can confidently say that the treasury bills is safer though might not be as profitable as the stocks market but it is safe and your returns are almost guaranteed,stocks market is more profitable but the risks makes the profit look small compared to the risks on your investment