title: resampling raises ValueError: Values falls before first bin
body: <p>I don't understand when and why this error is raised.</p>
  <p>From my understanding, <code>resample</code> should create as many bins as needed in order to bin all the timestamps of the index. So the message &quot;Values falls before first bin&quot; does not make much sense to me.</p>
  <p>Example/actual output:</p>
  <pre><code>&gt;&gt;&gt; df = pd.DataFrame(index=pd.date_range(start='2021-04-22 01:00:00', end='2021-04-28 01:00', freq='1d'), data = [1]*7)
  &gt;&gt;&gt; df 
                       0
  2021-04-22 01:00:00  1
  2021-04-23 01:00:00  1
  2021-04-24 01:00:00  1
  2021-04-25 01:00:00  1
  2021-04-26 01:00:00  1
  2021-04-27 01:00:00  1
  2021-04-28 01:00:00  1
  &gt;&gt;&gt; df.resample(rule='7d', origin='2021-04-29 00:00:00', closed='right', label='right').sum()
  [...]
  ValueError: Values falls before first bin
  </code></pre>
  <p>Expected output:</p>
  <pre><code>&gt;&gt;&gt; df.resample(rule='7d', origin='2021-04-29 00:00:00', closed='right', label='right').sum() 
              0
  2021-04-29  7 # bin (2021-04-22 00:00:00, 2021-04-29 00:00:00]
  </code></pre>
  <p>I'm using <code>pandas</code> 1.3.5</p>