Breakdown of Neben meinem Bett steht ein Nachttisch mit einer kleinen Lampe.
Questions & Answers about Neben meinem Bett steht ein Nachttisch mit einer kleinen Lampe.
Because Bett is in the dative case here.
- The preposition neben is one of the so‑called two‑way prepositions (Wechselpräpositionen).
- When it describes location (Where is something?), it takes the dative.
Bett is a neuter noun. The dative forms are:
- definite article: dem Bett
- with possessive mein (an “ein‑word”): meinem Bett
So: neben meinem Bett = next to my bed (bed = location → dative neuter: meinem).
Neben can take dative or accusative, depending on the meaning:
Dative = location (Wo?)
- Neben meinem Bett steht ein Nachttisch.
Where is the nightstand? → It is standing next to the bed (no movement).
- Neben meinem Bett steht ein Nachttisch.
Accusative = direction / movement (Wohin?)
- Ich stelle den Nachttisch neben mein Bett.
Where am I putting the nightstand? → I move it to a position next to the bed.
- Ich stelle den Nachttisch neben mein Bett.
So in your sentence, it’s clearly about where the nightstand is located, not where it is being moved, so dative is used: neben meinem Bett.