A price tells you how much money a purchase needs. Looking at it in hours asks a different question: how much of your working time does it take?
Divide the price by your hourly pay. The result is the number of paid hours behind it, before tax. It is a simple comparison, not a full picture of your finances. Tax, living costs and the way you are paid can change what you can afford.
Seeing the time does not mean every purchase is a mistake. Some things are useful. Some bring joy. The point is to pause and decide whether this one is worth it to you.
Try a price. Use your own pay. Then make the choice yours.